summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/periodic-background-sync
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/meta/periodic-background-sync
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/periodic-background-sync')
-rw-r--r--testing/web-platform/meta/periodic-background-sync/idlharness.https.any.js.ini141
-rw-r--r--testing/web-platform/meta/periodic-background-sync/periodicsync.https.window.js.ini16
2 files changed, 157 insertions, 0 deletions
diff --git a/testing/web-platform/meta/periodic-background-sync/idlharness.https.any.js.ini b/testing/web-platform/meta/periodic-background-sync/idlharness.https.any.js.ini
new file mode 100644
index 0000000000..0e24fa97c0
--- /dev/null
+++ b/testing/web-platform/meta/periodic-background-sync/idlharness.https.any.js.ini
@@ -0,0 +1,141 @@
+[idlharness.https.any.worker.html]
+ [ServiceWorkerGlobalScope interface: onperiodicsync must not have property "onperiodicsync"]
+ expected: FAIL
+
+ [ServiceWorkerRegistration interface: attribute periodicSync]
+ expected: FAIL
+
+ [PeriodicSyncManager must be primary interface of registration.periodicSync]
+ expected: FAIL
+
+ [PeriodicSyncEvent interface: new PeriodicSyncEvent("tag") must not have property "tag"]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: calling unregister(DOMString) on registration.periodicSync with too few arguments must throw TypeError]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: operation register(DOMString, optional BackgroundSyncOptions)]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: registration.periodicSync must inherit property "register(DOMString, optional BackgroundSyncOptions)" with the proper type]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: registration.periodicSync must inherit property "getTags()" with the proper type]
+ expected: FAIL
+
+ [PeriodicSyncEvent must be primary interface of new PeriodicSyncEvent("tag")]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [PeriodicSyncManager interface object length]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [ServiceWorkerRegistration interface: registration must inherit property "periodicSync" with the proper type]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: operation unregister(DOMString)]
+ expected: FAIL
+
+ [PeriodicSyncManager interface object name]
+ expected: FAIL
+
+ [Stringification of new PeriodicSyncEvent("tag")]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: registration.periodicSync must inherit property "unregister(DOMString)" with the proper type]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: calling register(DOMString, optional BackgroundSyncOptions) on registration.periodicSync with too few arguments must throw TypeError]
+ expected: FAIL
+
+ [Stringification of registration.periodicSync]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: existence and properties of interface object]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: operation getTags()]
+ expected: FAIL
+
+ [PeriodicSyncEvent interface: new PeriodicSyncEvent("tag") must not have property "undefined"]
+ expected: FAIL
+
+
+[idlharness.https.any.html]
+ [ServiceWorkerGlobalScope interface: onperiodicsync must not have property "onperiodicsync"]
+ expected: FAIL
+
+ [ServiceWorkerRegistration interface: attribute periodicSync]
+ expected: FAIL
+
+ [PeriodicSyncManager must be primary interface of registration.periodicSync]
+ expected: FAIL
+
+ [PeriodicSyncEvent interface: new PeriodicSyncEvent("tag") must not have property "tag"]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: calling unregister(DOMString) on registration.periodicSync with too few arguments must throw TypeError]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: operation register(DOMString, optional BackgroundSyncOptions)]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: registration.periodicSync must inherit property "register(DOMString, optional BackgroundSyncOptions)" with the proper type]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: registration.periodicSync must inherit property "getTags()" with the proper type]
+ expected: FAIL
+
+ [PeriodicSyncEvent must be primary interface of new PeriodicSyncEvent("tag")]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [PeriodicSyncManager interface object length]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [ServiceWorkerRegistration interface: registration must inherit property "periodicSync" with the proper type]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: operation unregister(DOMString)]
+ expected: FAIL
+
+ [PeriodicSyncManager interface object name]
+ expected: FAIL
+
+ [Stringification of new PeriodicSyncEvent("tag")]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: registration.periodicSync must inherit property "unregister(DOMString)" with the proper type]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: calling register(DOMString, optional BackgroundSyncOptions) on registration.periodicSync with too few arguments must throw TypeError]
+ expected: FAIL
+
+ [Stringification of registration.periodicSync]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: existence and properties of interface object]
+ expected: FAIL
+
+ [PeriodicSyncManager interface: operation getTags()]
+ expected: FAIL
+
+ [PeriodicSyncEvent interface: new PeriodicSyncEvent("tag") must not have property "undefined"]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/periodic-background-sync/periodicsync.https.window.js.ini b/testing/web-platform/meta/periodic-background-sync/periodicsync.https.window.js.ini
new file mode 100644
index 0000000000..37168ea419
--- /dev/null
+++ b/testing/web-platform/meta/periodic-background-sync/periodicsync.https.window.js.ini
@@ -0,0 +1,16 @@
+[periodicsync.https.window.html]
+ expected:
+ if (os == "win") and not swgl and not debug and (processor == "x86"): [OK, TIMEOUT]
+ if (os == "win") and not swgl and debug and (processor == "x86_64"): [OK, TIMEOUT]
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Periodic Background Sync requires an activated Service Worker]
+ expected:
+ if (os == "win") and not swgl and debug and (processor == "x86_64"): [FAIL, TIMEOUT]
+ if (os == "win") and not swgl and not debug and (processor == "x86"): [FAIL, TIMEOUT]
+ FAIL
+
+ [Periodic Background Sync unregister silently succeeds when Service Worker is unactivated]
+ expected:
+ if (os == "win") and not swgl and debug and (processor == "x86_64"): [FAIL, NOTRUN]
+ if (os == "win") and not swgl and not debug and (processor == "x86"): [FAIL, NOTRUN]
+ FAIL