summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/push-api
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/push-api
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/push-api')
-rw-r--r--testing/web-platform/meta/push-api/__dir__.ini2
-rw-r--r--testing/web-platform/meta/push-api/idlharness.https.any.js.ini266
-rw-r--r--testing/web-platform/meta/push-api/permission.https.html.ini3
3 files changed, 271 insertions, 0 deletions
diff --git a/testing/web-platform/meta/push-api/__dir__.ini b/testing/web-platform/meta/push-api/__dir__.ini
new file mode 100644
index 0000000000..77d79360ba
--- /dev/null
+++ b/testing/web-platform/meta/push-api/__dir__.ini
@@ -0,0 +1,2 @@
+lsan-allowed: [Alloc, Create, Malloc, Realloc, Then, mozilla::BasePrincipal::CreateContentPrincipal, mozilla::dom::DocGroup::Create, mozilla::dom::ServiceWorkerManager::Unregister, mozilla::dom::ServiceWorkerRegistrationMainThread::Unregister, mozilla::dom::UnregisterCallback::UnregisterCallback, mozilla::net::nsStandardURL::TemplatedMutator, operator]
+prefs: [notification.prompt.testing:true, dom.push.testing.ignorePermission:true, marionette.setpermission.enabled:true]
diff --git a/testing/web-platform/meta/push-api/idlharness.https.any.js.ini b/testing/web-platform/meta/push-api/idlharness.https.any.js.ini
new file mode 100644
index 0000000000..854ef2c410
--- /dev/null
+++ b/testing/web-platform/meta/push-api/idlharness.https.any.js.ini
@@ -0,0 +1,266 @@
+[idlharness.https.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [PushSubscriptionOptions interface: attribute userVisibleOnly]
+ expected: FAIL
+
+ [PushManager interface: attribute supportedContentEncodings]
+ expected: FAIL
+
+ [PushSubscription interface: attribute expirationTime]
+ expected:
+ if debug and (os == "android") and swgl: PASS
+ if not debug and (os == "win"): PASS
+ if debug and (os == "mac"): PASS
+ if debug and (os == "win"): PASS
+ if debug and (os == "linux"): PASS
+ [PASS, FAIL]
+
+
+[idlharness.https.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [PushManager interface object length]
+ expected: FAIL
+
+ [PushSubscription interface object length]
+ expected: FAIL
+
+ [PushSubscriptionOptions interface: attribute userVisibleOnly]
+ expected: FAIL
+
+ [PushManager interface: attribute supportedContentEncodings]
+ expected: FAIL
+
+ [PushManager interface: existence and properties of interface object]
+ expected: FAIL
+
+ [PushManager interface object name]
+ expected: FAIL
+
+ [PushManager interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [PushManager interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [PushManager interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [PushManager interface: operation subscribe(optional PushSubscriptionOptionsInit)]
+ expected: FAIL
+
+ [PushManager interface: operation getSubscription()]
+ expected: FAIL
+
+ [PushManager interface: operation permissionState(optional PushSubscriptionOptionsInit)]
+ expected: FAIL
+
+ [ServiceWorkerRegistration interface: attribute pushManager]
+ expected: FAIL
+
+ [PushSubscription interface: existence and properties of interface object]
+ expected: FAIL
+
+ [PushSubscription interface object name]
+ expected: FAIL
+
+ [PushSubscription interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [PushSubscription interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [PushSubscription interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [PushSubscription interface: attribute endpoint]
+ expected: FAIL
+
+ [PushSubscription interface: attribute expirationTime]
+ expected: FAIL
+
+ [PushSubscription interface: attribute options]
+ expected: FAIL
+
+ [PushSubscription interface: operation getKey(PushEncryptionKeyName)]
+ expected: FAIL
+
+ [PushSubscription interface: operation unsubscribe()]
+ expected: FAIL
+
+ [PushSubscription interface: operation toJSON()]
+ expected: FAIL
+
+ [PushSubscriptionOptions interface: existence and properties of interface object]
+ expected: FAIL
+
+ [PushSubscriptionOptions interface object length]
+ expected: FAIL
+
+ [PushSubscriptionOptions interface object name]
+ expected: FAIL
+
+ [PushSubscriptionOptions interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [PushSubscriptionOptions interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [PushSubscriptionOptions interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [PushSubscriptionOptions interface: attribute applicationServerKey]
+ expected: FAIL
+
+
+[idlharness.https.any.serviceworker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [PushSubscriptionChangeEvent must be primary interface of new PushSubscriptionChangeEvent("pushsubscriptionchange")]
+ expected: FAIL
+
+ [PushSubscriptionChangeEvent interface object length]
+ expected: FAIL
+
+ [PushSubscriptionChangeEvent interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [PushSubscriptionChangeEvent interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [PushManager interface: attribute supportedContentEncodings]
+ expected: FAIL
+
+ [PushSubscriptionChangeEvent interface: existence and properties of interface object]
+ expected: FAIL
+
+ [PushSubscriptionChangeEvent interface: attribute oldSubscription]
+ expected: FAIL
+
+ [PushSubscriptionChangeEvent interface: new PushSubscriptionChangeEvent("pushsubscriptionchange") must inherit property "oldSubscription" with the proper type]
+ expected: FAIL
+
+ [PushSubscriptionChangeEvent interface: new PushSubscriptionChangeEvent("pushsubscriptionchange") must inherit property "newSubscription" with the proper type]
+ expected: FAIL
+
+ [PushSubscriptionChangeEvent interface: attribute newSubscription]
+ expected: FAIL
+
+ [PushSubscriptionOptions interface: attribute userVisibleOnly]
+ expected: FAIL
+
+ [PushSubscriptionChangeEvent interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [Stringification of new PushSubscriptionChangeEvent("pushsubscriptionchange")]
+ expected: FAIL
+
+ [PushSubscriptionChangeEvent interface object name]
+ expected: FAIL
+
+ [PushSubscription interface: attribute expirationTime]
+ expected:
+ if debug and (os == "android") and swgl: PASS
+ if not debug and (os == "win"): PASS
+ if debug and (os == "win"): PASS
+ if debug and (os == "mac"): PASS
+ if debug and (os == "linux"): PASS
+ [PASS, FAIL]
+
+
+[idlharness.https.any.sharedworker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [PushManager interface object length]
+ expected: FAIL
+
+ [PushSubscription interface object length]
+ expected: FAIL
+
+ [PushSubscriptionOptions interface: attribute userVisibleOnly]
+ expected: FAIL
+
+ [PushManager interface: attribute supportedContentEncodings]
+ expected: FAIL
+
+ [PushManager interface: existence and properties of interface object]
+ expected: FAIL
+
+ [PushManager interface object name]
+ expected: FAIL
+
+ [PushManager interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [PushManager interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [PushManager interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [PushManager interface: operation subscribe(optional PushSubscriptionOptionsInit)]
+ expected: FAIL
+
+ [PushManager interface: operation getSubscription()]
+ expected: FAIL
+
+ [PushManager interface: operation permissionState(optional PushSubscriptionOptionsInit)]
+ expected: FAIL
+
+ [ServiceWorkerRegistration interface: attribute pushManager]
+ expected: FAIL
+
+ [PushSubscription interface: existence and properties of interface object]
+ expected: FAIL
+
+ [PushSubscription interface object name]
+ expected: FAIL
+
+ [PushSubscription interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [PushSubscription interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [PushSubscription interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [PushSubscription interface: attribute endpoint]
+ expected: FAIL
+
+ [PushSubscription interface: attribute expirationTime]
+ expected: FAIL
+
+ [PushSubscription interface: attribute options]
+ expected: FAIL
+
+ [PushSubscription interface: operation getKey(PushEncryptionKeyName)]
+ expected: FAIL
+
+ [PushSubscription interface: operation unsubscribe()]
+ expected: FAIL
+
+ [PushSubscription interface: operation toJSON()]
+ expected: FAIL
+
+ [PushSubscriptionOptions interface: existence and properties of interface object]
+ expected: FAIL
+
+ [PushSubscriptionOptions interface object length]
+ expected: FAIL
+
+ [PushSubscriptionOptions interface object name]
+ expected: FAIL
+
+ [PushSubscriptionOptions interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [PushSubscriptionOptions interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [PushSubscriptionOptions interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [PushSubscriptionOptions interface: attribute applicationServerKey]
+ expected: FAIL
diff --git a/testing/web-platform/meta/push-api/permission.https.html.ini b/testing/web-platform/meta/push-api/permission.https.html.ini
new file mode 100644
index 0000000000..5162a33a96
--- /dev/null
+++ b/testing/web-platform/meta/push-api/permission.https.html.ini
@@ -0,0 +1,3 @@
+[permission.https.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]