summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/notification/desktop-notification/create_notification.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/tests/mochitest/notification/desktop-notification/create_notification.html')
-rw-r--r--dom/tests/mochitest/notification/desktop-notification/create_notification.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/dom/tests/mochitest/notification/desktop-notification/create_notification.html b/dom/tests/mochitest/notification/desktop-notification/create_notification.html
new file mode 100644
index 000000000..b0387e4ff
--- /dev/null
+++ b/dom/tests/mochitest/notification/desktop-notification/create_notification.html
@@ -0,0 +1,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>