summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/notification/desktop-notification/create_notification.html
blob: b0387e4ffb84cdd69043baabe82d39f053298693 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<html>
<head><meta charset=utf-8>
  <title>Create a notification</title>
</head>
<body>
<script>

var notification = new Notification("This is a title", {
    body: "This is a notification body",
    tag: "sometag",
  });

</script>
</body>
</html>