summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/notifications
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/notifications')
-rw-r--r--testing/web-platform/meta/notifications/__dir__.ini2
-rw-r--r--testing/web-platform/meta/notifications/constructor-basic.https.html.ini3
-rw-r--r--testing/web-platform/meta/notifications/constructor-invalid.https.html.ini3
-rw-r--r--testing/web-platform/meta/notifications/event-onclose.https.html.ini3
-rw-r--r--testing/web-platform/meta/notifications/event-onshow.https.html.ini5
-rw-r--r--testing/web-platform/meta/notifications/historical.any.js.ini9
-rw-r--r--testing/web-platform/meta/notifications/idlharness.https.any.js.ini147
-rw-r--r--testing/web-platform/meta/notifications/instance.https.html.ini5
-rw-r--r--testing/web-platform/meta/notifications/lang.https.html.ini113
-rw-r--r--testing/web-platform/meta/notifications/permission.html.ini3
-rw-r--r--testing/web-platform/meta/notifications/permissions-non-secure.html.ini5
11 files changed, 298 insertions, 0 deletions
diff --git a/testing/web-platform/meta/notifications/__dir__.ini b/testing/web-platform/meta/notifications/__dir__.ini
new file mode 100644
index 0000000000..4217508d54
--- /dev/null
+++ b/testing/web-platform/meta/notifications/__dir__.ini
@@ -0,0 +1,2 @@
+lsan-allowed: [Alloc, NS_GetXPTCallStub, NewPage, nsXPCWrappedJS::GetNewOrUsed]
+leak-threshold: [default:51200]
diff --git a/testing/web-platform/meta/notifications/constructor-basic.https.html.ini b/testing/web-platform/meta/notifications/constructor-basic.https.html.ini
new file mode 100644
index 0000000000..a24ce65aca
--- /dev/null
+++ b/testing/web-platform/meta/notifications/constructor-basic.https.html.ini
@@ -0,0 +1,3 @@
+[constructor-basic.https.html]
+ [Called the notification constructor with one argument.]
+ expected: NOTRUN
diff --git a/testing/web-platform/meta/notifications/constructor-invalid.https.html.ini b/testing/web-platform/meta/notifications/constructor-invalid.https.html.ini
new file mode 100644
index 0000000000..9ff58cc861
--- /dev/null
+++ b/testing/web-platform/meta/notifications/constructor-invalid.https.html.ini
@@ -0,0 +1,3 @@
+[constructor-invalid.https.html]
+ [Called the notification constructor with no arguments.]
+ expected: NOTRUN
diff --git a/testing/web-platform/meta/notifications/event-onclose.https.html.ini b/testing/web-platform/meta/notifications/event-onclose.https.html.ini
new file mode 100644
index 0000000000..d18130f785
--- /dev/null
+++ b/testing/web-platform/meta/notifications/event-onclose.https.html.ini
@@ -0,0 +1,3 @@
+[event-onclose.https.html]
+ [Checked test prerequisites.]
+ expected: NOTRUN
diff --git a/testing/web-platform/meta/notifications/event-onshow.https.html.ini b/testing/web-platform/meta/notifications/event-onshow.https.html.ini
new file mode 100644
index 0000000000..3b1691e532
--- /dev/null
+++ b/testing/web-platform/meta/notifications/event-onshow.https.html.ini
@@ -0,0 +1,5 @@
+[event-onshow.https.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Checked test prerequisites.]
+ expected: NOTRUN
diff --git a/testing/web-platform/meta/notifications/historical.any.js.ini b/testing/web-platform/meta/notifications/historical.any.js.ini
new file mode 100644
index 0000000000..c0abff64d2
--- /dev/null
+++ b/testing/web-platform/meta/notifications/historical.any.js.ini
@@ -0,0 +1,9 @@
+[historical.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
+[historical.any.html]
+ expected:
+ if (os == "android") and fission: [TIMEOUT, OK]
+ [Notification.get is obsolete]
+ expected: FAIL
diff --git a/testing/web-platform/meta/notifications/idlharness.https.any.js.ini b/testing/web-platform/meta/notifications/idlharness.https.any.js.ini
new file mode 100644
index 0000000000..dcdbe99d28
--- /dev/null
+++ b/testing/web-platform/meta/notifications/idlharness.https.any.js.ini
@@ -0,0 +1,147 @@
+prefs: [dom.webnotifications.requireinteraction.enabled:true, dom.webnotifications.vibrate.enabled:true, dom.webnotifications.silent.enabled:true]
+[idlharness.https.any.serviceworker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Notification interface: attribute actions]
+ expected: FAIL
+
+ [Notification interface: attribute timestamp]
+ expected: FAIL
+
+ [NotificationEvent interface: attribute action]
+ expected: FAIL
+
+ [Notification interface: attribute image]
+ expected: FAIL
+
+ [Notification interface: attribute renotify]
+ expected: FAIL
+
+ [Notification interface: attribute badge]
+ expected: FAIL
+
+ [Notification interface: attribute maxActions]
+ expected: FAIL
+
+
+[idlharness.https.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Notification interface: attribute image]
+ expected: FAIL
+
+ [Notification interface: notification must inherit property "badge" with the proper type]
+ expected: FAIL
+
+ [Notification interface: notification must inherit property "image" with the proper type]
+ expected: FAIL
+
+ [Notification interface: notification must inherit property "renotify" with the proper type]
+ expected: FAIL
+
+ [Notification interface: attribute renotify]
+ expected: FAIL
+
+ [Notification interface: notification must inherit property "actions" with the proper type]
+ expected: FAIL
+
+ [Notification interface: attribute actions]
+ expected: FAIL
+
+ [Notification interface: attribute timestamp]
+ expected: FAIL
+
+ [Notification interface: notification must inherit property "timestamp" with the proper type]
+ expected: FAIL
+
+ [Notification interface: attribute maxActions]
+ expected: FAIL
+
+ [Notification interface: attribute badge]
+ expected: FAIL
+
+
+[idlharness.https.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Notification interface: attribute image]
+ expected: FAIL
+
+ [Notification interface: notification must inherit property "badge" with the proper type]
+ expected: FAIL
+
+ [Notification interface: notification must inherit property "image" with the proper type]
+ expected: FAIL
+
+ [Notification interface: notification must inherit property "renotify" with the proper type]
+ expected: FAIL
+
+ [Notification interface: attribute renotify]
+ expected: FAIL
+
+ [Notification interface: notification must inherit property "actions" with the proper type]
+ expected: FAIL
+
+ [Notification interface: attribute actions]
+ expected: FAIL
+
+ [Notification interface: attribute timestamp]
+ expected: FAIL
+
+ [Notification interface: notification must inherit property "timestamp" with the proper type]
+ expected: FAIL
+
+ [Notification interface: attribute maxActions]
+ expected: FAIL
+
+ [Notification interface: attribute badge]
+ expected: FAIL
+
+ [ServiceWorkerRegistration interface: operation showNotification(DOMString, optional NotificationOptions)]
+ expected: FAIL
+
+ [ServiceWorkerRegistration interface: operation getNotifications(optional GetNotificationOptions)]
+ expected: FAIL
+
+
+[idlharness.https.any.sharedworker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Notification interface: attribute image]
+ expected: FAIL
+
+ [Notification interface: notification must inherit property "badge" with the proper type]
+ expected: FAIL
+
+ [Notification interface: notification must inherit property "image" with the proper type]
+ expected: FAIL
+
+ [Notification interface: notification must inherit property "renotify" with the proper type]
+ expected: FAIL
+
+ [Notification interface: attribute renotify]
+ expected: FAIL
+
+ [Notification interface: notification must inherit property "actions" with the proper type]
+ expected: FAIL
+
+ [Notification interface: attribute actions]
+ expected: FAIL
+
+ [Notification interface: attribute timestamp]
+ expected: FAIL
+
+ [Notification interface: notification must inherit property "timestamp" with the proper type]
+ expected: FAIL
+
+ [Notification interface: attribute maxActions]
+ expected: FAIL
+
+ [Notification interface: attribute badge]
+ expected: FAIL
+
+ [ServiceWorkerRegistration interface: operation showNotification(DOMString, optional NotificationOptions)]
+ expected: FAIL
+
+ [ServiceWorkerRegistration interface: operation getNotifications(optional GetNotificationOptions)]
+ expected: FAIL
diff --git a/testing/web-platform/meta/notifications/instance.https.html.ini b/testing/web-platform/meta/notifications/instance.https.html.ini
new file mode 100644
index 0000000000..9f8f4144f8
--- /dev/null
+++ b/testing/web-platform/meta/notifications/instance.https.html.ini
@@ -0,0 +1,5 @@
+[instance.https.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Notification instance basic tests]
+ expected: NOTRUN
diff --git a/testing/web-platform/meta/notifications/lang.https.html.ini b/testing/web-platform/meta/notifications/lang.https.html.ini
new file mode 100644
index 0000000000..036a884278
--- /dev/null
+++ b/testing/web-platform/meta/notifications/lang.https.html.ini
@@ -0,0 +1,113 @@
+[lang.https.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Roundtripping lang "". Expecting "".]
+ expected: NOTRUN
+
+ [Roundtripping lang "en". Expecting "en".]
+ expected: NOTRUN
+
+ [Roundtripping lang "en-US-x-hixie". Expecting "en-US-x-hixie".]
+ expected: NOTRUN
+
+ [Roundtripping lang "de-DE". Expecting "de-DE".]
+ expected: NOTRUN
+
+ [Roundtripping lang "de-de". Expecting "de-de".]
+ expected: NOTRUN
+
+ [Roundtripping lang "de-De". Expecting "de-De".]
+ expected: NOTRUN
+
+ [Roundtripping lang "de-dE". Expecting "de-dE".]
+ expected: NOTRUN
+
+ [Roundtripping lang "de-DE-1996". Expecting "de-DE-1996".]
+ expected: NOTRUN
+
+ [Roundtripping lang "de-Latn-DE". Expecting "de-Latn-DE".]
+ expected: NOTRUN
+
+ [Roundtripping lang "de-Latf-DE". Expecting "de-Latf-DE".]
+ expected: NOTRUN
+
+ [Roundtripping lang "de-Latn-DE-1996". Expecting "de-Latn-DE-1996".]
+ expected: NOTRUN
+
+ [Roundtripping lang "de-CH". Expecting "de-CH".]
+ expected: NOTRUN
+
+ [Roundtripping lang "it-CH". Expecting "it-CH".]
+ expected: NOTRUN
+
+ [Roundtripping lang "fr-CH". Expecting "fr-CH".]
+ expected: NOTRUN
+
+ [Roundtripping lang "rm-CH". Expecting "rm-CH".]
+ expected: NOTRUN
+
+ [Roundtripping lang "es-CH". Expecting "es-CH".]
+ expected: NOTRUN
+
+ [Roundtripping lang "Latn-de". Expecting "".]
+ expected: NOTRUN
+
+ [Roundtripping lang "Latf-de". Expecting "".]
+ expected: NOTRUN
+
+ [Roundtripping lang "tic-tac-tac-toe". Expecting "".]
+ expected: NOTRUN
+
+ [Roundtripping lang "cocoa-1-bar". Expecting "".]
+ expected: NOTRUN
+
+ [Roundtripping lang "cocoa-a-bar". Expecting "".]
+ expected: NOTRUN
+
+ [Roundtripping lang "en-". Expecting "".]
+ expected: NOTRUN
+
+ [Roundtripping lang "en--". Expecting "".]
+ expected: NOTRUN
+
+ [Roundtripping lang "foo--bar". Expecting "".]
+ expected: NOTRUN
+
+ [Roundtripping lang "id---Java". Expecting "".]
+ expected: NOTRUN
+
+ [Roundtripping lang "fr-x". Expecting "".]
+ expected: NOTRUN
+
+ [Roundtripping lang "fr-xenomorph". Expecting "".]
+ expected: NOTRUN
+
+ [Roundtripping lang "fr-x-xenomorph". Expecting "".]
+ expected: NOTRUN
+
+ [Roundtripping lang "a". Expecting "".]
+ expected: NOTRUN
+
+ [Roundtripping lang "a-fr-lang". Expecting "".]
+ expected: NOTRUN
+
+ [Roundtripping lang "b-fr-lang". Expecting "".]
+ expected: NOTRUN
+
+ [Roundtripping lang "es1-KK-aa-bb-cc-dd". Expecting "".]
+ expected: NOTRUN
+
+ [Roundtripping lang "es2-KL-aa-bb-cc-dd". Expecting "".]
+ expected: NOTRUN
+
+ [Roundtripping lang "es3-KM-aa-bb-cc-dd". Expecting "".]
+ expected: NOTRUN
+
+ [Roundtripping lang "fooÉ". Expecting "".]
+ expected: NOTRUN
+
+ [Roundtripping lang "foöÉ-bÁr". Expecting "".]
+ expected: NOTRUN
+
+ [Roundtripping lang "foöÉbÁr". Expecting "".]
+ expected: NOTRUN
diff --git a/testing/web-platform/meta/notifications/permission.html.ini b/testing/web-platform/meta/notifications/permission.html.ini
new file mode 100644
index 0000000000..e5e0bc8050
--- /dev/null
+++ b/testing/web-platform/meta/notifications/permission.html.ini
@@ -0,0 +1,3 @@
+[permission.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/notifications/permissions-non-secure.html.ini b/testing/web-platform/meta/notifications/permissions-non-secure.html.ini
new file mode 100644
index 0000000000..730ec69069
--- /dev/null
+++ b/testing/web-platform/meta/notifications/permissions-non-secure.html.ini
@@ -0,0 +1,5 @@
+[permissions-non-secure.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Notification.permission must be called from a secure context]
+ expected: FAIL