summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data
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/html/infrastructure/safe-passing-of-structured-data
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 '')
-rw-r--r--testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/cross-origin-transfer-resizable-arraybuffer.html.ini3
-rw-r--r--testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/messagechannel.any.js.ini146
-rw-r--r--testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/__dir__.ini5
-rw-r--r--testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/blob-data.https.html.ini6
-rw-r--r--testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/nested-sharedworker-success.https.html.ini7
-rw-r--r--testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-idb.any.js.ini20
-rw-r--r--testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/window-domain-failure.https.sub.html.ini4
-rw-r--r--testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/window-serviceworker-failure.https.html.ini9
-rw-r--r--testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/window-sharedworker-failure.https.html.ini7
-rw-r--r--testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-extra.html.ini3
-rw-r--r--testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js.ini26
-rw-r--r--testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/structuredclone_0.html.ini6
-rw-r--r--testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window.js.ini3
-rw-r--r--testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/window-postmessage.window.js.ini35
14 files changed, 280 insertions, 0 deletions
diff --git a/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/cross-origin-transfer-resizable-arraybuffer.html.ini b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/cross-origin-transfer-resizable-arraybuffer.html.ini
new file mode 100644
index 0000000000..97ce0eb181
--- /dev/null
+++ b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/cross-origin-transfer-resizable-arraybuffer.html.ini
@@ -0,0 +1,3 @@
+[cross-origin-transfer-resizable-arraybuffer.html]
+ [postMessaging resizable ArrayBuffer to OOPIF]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/messagechannel.any.js.ini b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/messagechannel.any.js.ini
new file mode 100644
index 0000000000..97d5fdacb4
--- /dev/null
+++ b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/messagechannel.any.js.ini
@@ -0,0 +1,146 @@
+[messagechannel.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Resizable ArrayBuffer]
+ expected: FAIL
+
+ [Growable SharedArrayBuffer]
+ expected: FAIL
+
+ [Length-tracking TypedArray]
+ expected: FAIL
+
+ [Length-tracking DataView]
+ expected: FAIL
+
+ [Serializing OOB TypedArray throws]
+ expected: FAIL
+
+ [Serializing OOB DataView throws]
+ expected: FAIL
+
+ [Resizable ArrayBuffer is transferable]
+ expected: FAIL
+
+ [Length-tracking TypedArray is transferable]
+ expected: FAIL
+
+ [Length-tracking DataView is transferable]
+ expected: FAIL
+
+ [Transferring OOB TypedArray throws]
+ expected: FAIL
+
+ [Transferring OOB DataView throws]
+ expected: FAIL
+
+
+[messagechannel.any.sharedworker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Resizable ArrayBuffer]
+ expected: FAIL
+
+ [Growable SharedArrayBuffer]
+ expected: FAIL
+
+ [Length-tracking TypedArray]
+ expected: FAIL
+
+ [Length-tracking DataView]
+ expected: FAIL
+
+ [Serializing OOB TypedArray throws]
+ expected: FAIL
+
+ [Serializing OOB DataView throws]
+ expected: FAIL
+
+ [Resizable ArrayBuffer is transferable]
+ expected: FAIL
+
+ [Length-tracking TypedArray is transferable]
+ expected: FAIL
+
+ [Length-tracking DataView is transferable]
+ expected: FAIL
+
+ [Transferring OOB TypedArray throws]
+ expected: FAIL
+
+ [Transferring OOB DataView throws]
+ expected: FAIL
+
+
+[messagechannel.any.serviceworker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Resizable ArrayBuffer]
+ expected: FAIL
+
+ [Growable SharedArrayBuffer]
+ expected: FAIL
+
+ [Length-tracking TypedArray]
+ expected: FAIL
+
+ [Length-tracking DataView]
+ expected: FAIL
+
+ [Serializing OOB TypedArray throws]
+ expected: FAIL
+
+ [Serializing OOB DataView throws]
+ expected: FAIL
+
+ [Resizable ArrayBuffer is transferable]
+ expected: FAIL
+
+ [Length-tracking TypedArray is transferable]
+ expected: FAIL
+
+ [Length-tracking DataView is transferable]
+ expected: FAIL
+
+ [Transferring OOB TypedArray throws]
+ expected: FAIL
+
+ [Transferring OOB DataView throws]
+ expected: FAIL
+
+
+[messagechannel.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Resizable ArrayBuffer]
+ expected: FAIL
+
+ [Growable SharedArrayBuffer]
+ expected: FAIL
+
+ [Length-tracking TypedArray]
+ expected: FAIL
+
+ [Length-tracking DataView]
+ expected: FAIL
+
+ [Serializing OOB TypedArray throws]
+ expected: FAIL
+
+ [Serializing OOB DataView throws]
+ expected: FAIL
+
+ [Resizable ArrayBuffer is transferable]
+ expected: FAIL
+
+ [Length-tracking TypedArray is transferable]
+ expected: FAIL
+
+ [Length-tracking DataView is transferable]
+ expected: FAIL
+
+ [Transferring OOB TypedArray throws]
+ expected: FAIL
+
+ [Transferring OOB DataView throws]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/__dir__.ini b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/__dir__.ini
new file mode 100644
index 0000000000..c7a450ee9a
--- /dev/null
+++ b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/__dir__.ini
@@ -0,0 +1,5 @@
+prefs: [browser.tabs.remote.useCrossOriginOpenerPolicy:true,
+ browser.tabs.remote.useCrossOriginEmbedderPolicy:true,
+ javascript.options.shared_memory:true]
+disabled:
+ if (os == "android") or release_or_beta: This is blocked on DocumentChannel process switching support for Android
diff --git a/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/blob-data.https.html.ini b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/blob-data.https.html.ini
new file mode 100644
index 0000000000..f851da6bf6
--- /dev/null
+++ b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/blob-data.https.html.ini
@@ -0,0 +1,6 @@
+implementation-status: backlog
+bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1613912
+[blob-data.https.html]
+ expected: [TIMEOUT, OK]
+ [data worker: self.crossOriginIsolated]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/nested-sharedworker-success.https.html.ini b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/nested-sharedworker-success.https.html.ini
new file mode 100644
index 0000000000..813d2a24f1
--- /dev/null
+++ b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/nested-sharedworker-success.https.html.ini
@@ -0,0 +1,7 @@
+[nested-sharedworker-success.https.html]
+ [postMessaging to a dedicated sub-worker allows them to see each others' modifications]
+ expected: FAIL
+
+ [Bonus: self.crossOriginIsolated]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-idb.any.js.ini b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-idb.any.js.ini
new file mode 100644
index 0000000000..59a85ebb49
--- /dev/null
+++ b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-idb.any.js.ini
@@ -0,0 +1,20 @@
+[serialization-via-idb.any.worker.html]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: [OK, TIMEOUT]
+ [SharedArrayBuffer cloning via IndexedDB: basic case]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: [FAIL, TIMEOUT]
+ FAIL
+
+ [SharedArrayBuffer cloning via the IndexedDB: is interleaved correctly]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: [FAIL, TIMEOUT]
+ FAIL
+
+
+[serialization-via-idb.any.html]
+ [SharedArrayBuffer cloning via IndexedDB: basic case]
+ expected: FAIL
+
+ [SharedArrayBuffer cloning via the IndexedDB: is interleaved correctly]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/window-domain-failure.https.sub.html.ini b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/window-domain-failure.https.sub.html.ini
new file mode 100644
index 0000000000..8df8955dfd
--- /dev/null
+++ b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/window-domain-failure.https.sub.html.ini
@@ -0,0 +1,4 @@
+[window-domain-failure.https.sub.html]
+ [SharedArrayBuffer and a same-origin-domain (but not same-origin) iframe]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/window-serviceworker-failure.https.html.ini b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/window-serviceworker-failure.https.html.ini
new file mode 100644
index 0000000000..d3c11111e6
--- /dev/null
+++ b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/window-serviceworker-failure.https.html.ini
@@ -0,0 +1,9 @@
+implementation-status: backlog
+bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1613912
+[window-serviceworker-failure.https.html]
+ expected: TIMEOUT
+ disabled:
+ if (os == "android"): https://bugzilla.mozilla.org/show_bug.cgi?id=1589673
+ [SharedArrayBuffer cannot cross agent clusters, service worker edition]
+ expected: TIMEOUT
+
diff --git a/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/window-sharedworker-failure.https.html.ini b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/window-sharedworker-failure.https.html.ini
new file mode 100644
index 0000000000..fd8823edc4
--- /dev/null
+++ b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/window-sharedworker-failure.https.html.ini
@@ -0,0 +1,7 @@
+implementation-status: backlog
+bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1613912
+[window-sharedworker-failure.https.html]
+ expected: TIMEOUT
+
+ [SharedArrayBuffer cannot cross agent clusters, shared worker edition]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-extra.html.ini b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-extra.html.ini
new file mode 100644
index 0000000000..9d8f28bd34
--- /dev/null
+++ b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-extra.html.ini
@@ -0,0 +1,3 @@
+[structured-cloning-error-extra.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js.ini b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js.ini
new file mode 100644
index 0000000000..b1ed25ff7e
--- /dev/null
+++ b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js.ini
@@ -0,0 +1,26 @@
+[structured-cloning-error-stack-optional.sub.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [page-created DOMException (structuredClone())]
+ expected: FAIL
+
+ [web API-created DOMException (structuredClone())]
+ expected: FAIL
+
+ [web API-created DOMException (worker)]
+ expected: FAIL
+
+ [page-created DOMException (worker)]
+ expected: FAIL
+
+ [web API-created DOMException (cross-site iframe)]
+ expected: FAIL
+
+ [page-created DOMException (cross-site iframe)]
+ expected: FAIL
+
+ [web API-created DOMException (same-origin iframe)]
+ expected: FAIL
+
+ [page-created DOMException (same-origin iframe)]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/structuredclone_0.html.ini b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/structuredclone_0.html.ini
new file mode 100644
index 0000000000..4c750a0e0b
--- /dev/null
+++ b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/structuredclone_0.html.ini
@@ -0,0 +1,6 @@
+[structuredclone_0.html]
+ expected:
+ if (os == "mac") and debug: TIMEOUT
+ [Empty Error objects can be cloned]
+ expected:
+ if (os == "mac") and debug: TIMEOUT
diff --git a/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window.js.ini b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window.js.ini
new file mode 100644
index 0000000000..ce39dac985
--- /dev/null
+++ b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window.js.ini
@@ -0,0 +1,3 @@
+[transfer-errors.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/window-postmessage.window.js.ini b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/window-postmessage.window.js.ini
new file mode 100644
index 0000000000..66c1c5dec1
--- /dev/null
+++ b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/window-postmessage.window.js.ini
@@ -0,0 +1,35 @@
+[window-postmessage.window.html]
+ expected:
+ if (os == "android") and fission: [TIMEOUT, OK]
+ [Resizable ArrayBuffer]
+ expected: FAIL
+
+ [Growable SharedArrayBuffer]
+ expected: FAIL
+
+ [Length-tracking TypedArray]
+ expected: FAIL
+
+ [Length-tracking DataView]
+ expected: FAIL
+
+ [Serializing OOB TypedArray throws]
+ expected: FAIL
+
+ [Serializing OOB DataView throws]
+ expected: FAIL
+
+ [Resizable ArrayBuffer is transferable]
+ expected: FAIL
+
+ [Length-tracking TypedArray is transferable]
+ expected: FAIL
+
+ [Length-tracking DataView is transferable]
+ expected: FAIL
+
+ [Transferring OOB TypedArray throws]
+ expected: FAIL
+
+ [Transferring OOB DataView throws]
+ expected: FAIL