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/event-onclose.https.html.ini10
-rw-r--r--testing/web-platform/meta/notifications/event-onshow.https.html.ini10
-rw-r--r--testing/web-platform/meta/notifications/getnotifications-across-processes.https.window.js.ini17
-rw-r--r--testing/web-platform/meta/notifications/idlharness.https.any.js.ini147
-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
-rw-r--r--testing/web-platform/meta/notifications/shownotification.https.window.js.ini6
9 files changed, 313 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/event-onclose.https.html.ini b/testing/web-platform/meta/notifications/event-onclose.https.html.ini
new file mode 100644
index 0000000000..876798c9da
--- /dev/null
+++ b/testing/web-platform/meta/notifications/event-onclose.https.html.ini
@@ -0,0 +1,10 @@
+prefs: [notification.prompt.testing:true,marionette.setpermission.enabled:true]
+
+[event-onclose.https.html]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1816427
+ expected:
+ if (os == "android"): TIMEOUT
+
+ [Invoked the onclose event handler.]
+ expected:
+ if (os == "android"): TIMEOUT
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..b9b78c9bfe
--- /dev/null
+++ b/testing/web-platform/meta/notifications/event-onshow.https.html.ini
@@ -0,0 +1,10 @@
+prefs: [notification.prompt.testing:true,marionette.setpermission.enabled:true]
+
+[event-onshow.https.html]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1816427
+ expected:
+ if (os == "android"): TIMEOUT
+
+ [Invoked the onshow event handler.]
+ expected:
+ if (os == "android"): TIMEOUT
diff --git a/testing/web-platform/meta/notifications/getnotifications-across-processes.https.window.js.ini b/testing/web-platform/meta/notifications/getnotifications-across-processes.https.window.js.ini
new file mode 100644
index 0000000000..b5908a88c5
--- /dev/null
+++ b/testing/web-platform/meta/notifications/getnotifications-across-processes.https.window.js.ini
@@ -0,0 +1,17 @@
+prefs: [notification.prompt.testing:true, marionette.setpermission.enabled:true]
+[getnotifications-across-processes.https.window.html]
+ expected:
+ if (processor == "x86") and not debug: [OK, TIMEOUT]
+ [Get notification created from window]
+ expected:
+ if (os == "linux") and not fission and debug and swgl: [PASS, FAIL]
+ if (os == "linux") and fission and swgl: [PASS, FAIL]
+ if (os == "linux") and not fission and not debug: [PASS, FAIL]
+
+ [Service worker test setup]
+ expected:
+ if (processor == "x86") and not debug: [PASS, TIMEOUT]
+
+ [Create and get notification within service worker]
+ expected:
+ if swgl and (os == "linux") and not fission: [PASS, 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/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
diff --git a/testing/web-platform/meta/notifications/shownotification.https.window.js.ini b/testing/web-platform/meta/notifications/shownotification.https.window.js.ini
new file mode 100644
index 0000000000..552940655f
--- /dev/null
+++ b/testing/web-platform/meta/notifications/shownotification.https.window.js.ini
@@ -0,0 +1,6 @@
+prefs: [notification.prompt.testing:true, marionette.setpermission.enabled:true]
+[getnotifications-across-processes.https.window.html]
+ [Get notification created from window]
+ expected:
+ if fission and (processor == "x86") and (os == "linux"): [PASS, FAIL]
+ if not fission and not debug: [PASS, FAIL]