summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data')
-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.ini8
-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.ini15
-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.ini3
-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, 274 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..8adda13938
--- /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,8 @@
+implementation-status: backlog
+bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1613912
+[blob-data.https.html]
+ expected:
+ if os == "mac": [TIMEOUT, OK]
+ [OK, TIMEOUT]
+ [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..e7bd6c13fd
--- /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,15 @@
+[serialization-via-idb.any.worker.html]
+ [SharedArrayBuffer cloning via IndexedDB: basic case]
+ expected: FAIL
+
+ [SharedArrayBuffer cloning via the IndexedDB: is interleaved correctly]
+ expected: 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..1ddde5f84a
--- /dev/null
+++ b/testing/web-platform/meta/html/infrastructure/safe-passing-of-structured-data/structuredclone_0.html.ini
@@ -0,0 +1,3 @@
+[structuredclone_0.html]
+ expected:
+ if (os == "android") and fission: [OK, 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