summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/html/anonymous-iframe
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/html/anonymous-iframe
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/html/anonymous-iframe')
-rw-r--r--testing/web-platform/meta/html/anonymous-iframe/__dir__.ini2
-rw-r--r--testing/web-platform/meta/html/anonymous-iframe/anonymous-iframe-popup.tentative.https.window.js.ini6
-rw-r--r--testing/web-platform/meta/html/anonymous-iframe/anonymous-window.tentative.https.window.js.ini11
-rw-r--r--testing/web-platform/meta/html/anonymous-iframe/cache-storage.tentative.https.window.js.ini5
-rw-r--r--testing/web-platform/meta/html/anonymous-iframe/cookie-store.tentative.https.window.js.ini3
-rw-r--r--testing/web-platform/meta/html/anonymous-iframe/cookie.tentative.https.window.js.ini32
-rw-r--r--testing/web-platform/meta/html/anonymous-iframe/embedding.tentative.https.window.js.ini118
-rw-r--r--testing/web-platform/meta/html/anonymous-iframe/fenced-frame-bypass.tentative.https.window.js.ini4
-rw-r--r--testing/web-platform/meta/html/anonymous-iframe/fenced-frame.tentative.https.window.js.ini4
-rw-r--r--testing/web-platform/meta/html/anonymous-iframe/indexeddb.tentative.https.window.js.ini5
-rw-r--r--testing/web-platform/meta/html/anonymous-iframe/initial-empty-document.tentative.https.window.js.ini8
-rw-r--r--testing/web-platform/meta/html/anonymous-iframe/local-storage-initial-empty-document.tentative.https.window.js.ini5
-rw-r--r--testing/web-platform/meta/html/anonymous-iframe/local-storage.tentative.https.window.js.ini6
-rw-r--r--testing/web-platform/meta/html/anonymous-iframe/require-corp-embed-anonymous-iframe.tentative.https.window.js.ini5
-rw-r--r--testing/web-platform/meta/html/anonymous-iframe/serviceworker-partitioning.tentative.https.window.js.ini6
-rw-r--r--testing/web-platform/meta/html/anonymous-iframe/session-storage.tentative.https.window.js.ini5
-rw-r--r--testing/web-platform/meta/html/anonymous-iframe/sharedworker-partitioning.tentative.https.window.js.ini5
-rw-r--r--testing/web-platform/meta/html/anonymous-iframe/web-lock.tentative.https.window.js.ini5
-rw-r--r--testing/web-platform/meta/html/anonymous-iframe/worker-cookies.tentative.https.window.js.ini13
19 files changed, 248 insertions, 0 deletions
diff --git a/testing/web-platform/meta/html/anonymous-iframe/__dir__.ini b/testing/web-platform/meta/html/anonymous-iframe/__dir__.ini
new file mode 100644
index 0000000000..ef34e224dc
--- /dev/null
+++ b/testing/web-platform/meta/html/anonymous-iframe/__dir__.ini
@@ -0,0 +1,2 @@
+prefs: [browser.tabs.remote.coep.credentialless:true]
+lsan-allowed: [maybe_pod_malloc]
diff --git a/testing/web-platform/meta/html/anonymous-iframe/anonymous-iframe-popup.tentative.https.window.js.ini b/testing/web-platform/meta/html/anonymous-iframe/anonymous-iframe-popup.tentative.https.window.js.ini
new file mode 100644
index 0000000000..2763d83d2f
--- /dev/null
+++ b/testing/web-platform/meta/html/anonymous-iframe/anonymous-iframe-popup.tentative.https.window.js.ini
@@ -0,0 +1,6 @@
+[anonymous-iframe-popup.tentative.https.window.html]
+ [Cross-origin popup from normal/credentiallessiframes.]
+ expected: FAIL
+
+ [Same-origin popup from normal/credentialless iframes.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/anonymous-iframe/anonymous-window.tentative.https.window.js.ini b/testing/web-platform/meta/html/anonymous-iframe/anonymous-window.tentative.https.window.js.ini
new file mode 100644
index 0000000000..88e328243b
--- /dev/null
+++ b/testing/web-platform/meta/html/anonymous-iframe/anonymous-window.tentative.https.window.js.ini
@@ -0,0 +1,11 @@
+[anonymous-window.tentative.https.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Credentialless (false => true) => window not reused.]
+ expected: FAIL
+
+ [Credentialless (true => false) => window not reused.]
+ expected: FAIL
+
+ [Credentialless (true => true) => window reused.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/anonymous-iframe/cache-storage.tentative.https.window.js.ini b/testing/web-platform/meta/html/anonymous-iframe/cache-storage.tentative.https.window.js.ini
new file mode 100644
index 0000000000..5a472f1263
--- /dev/null
+++ b/testing/web-platform/meta/html/anonymous-iframe/cache-storage.tentative.https.window.js.ini
@@ -0,0 +1,5 @@
+[cache-storage.tentative.https.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [cache-storage]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/anonymous-iframe/cookie-store.tentative.https.window.js.ini b/testing/web-platform/meta/html/anonymous-iframe/cookie-store.tentative.https.window.js.ini
new file mode 100644
index 0000000000..ea4166c60a
--- /dev/null
+++ b/testing/web-platform/meta/html/anonymous-iframe/cookie-store.tentative.https.window.js.ini
@@ -0,0 +1,3 @@
+[cookie-store.tentative.https.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/html/anonymous-iframe/cookie.tentative.https.window.js.ini b/testing/web-platform/meta/html/anonymous-iframe/cookie.tentative.https.window.js.ini
new file mode 100644
index 0000000000..7d7d76d6ea
--- /dev/null
+++ b/testing/web-platform/meta/html/anonymous-iframe/cookie.tentative.https.window.js.ini
@@ -0,0 +1,32 @@
+[cookie.tentative.https.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Credentialless same-origin iframe is loaded without credentials]
+ expected: FAIL
+
+ [Credentialless cross-origin iframe is loaded without credentials]
+ expected: FAIL
+
+ [same_origin credentialless iframe can't send same_origin credentials]
+ expected: FAIL
+
+ [same_origin credentialless iframe can't send cross_origin credentials]
+ expected: FAIL
+
+ [cross_origin credentialless iframe can't send cross_origin credentials]
+ expected: FAIL
+
+ [cross_origin credentialless iframe can't send same_origin credentials]
+ expected: FAIL
+
+ [same_origin credentialless iframe can't send same_origin credentials on child iframe]
+ expected: FAIL
+
+ [same_origin credentialless iframe can't send cross_origin credentials on child iframe]
+ expected: FAIL
+
+ [cross_origin credentialless iframe can't send cross_origin credentials on child iframe]
+ expected: FAIL
+
+ [cross_origin credentialless iframe can't send same_origin credentials on child iframe]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/anonymous-iframe/embedding.tentative.https.window.js.ini b/testing/web-platform/meta/html/anonymous-iframe/embedding.tentative.https.window.js.ini
new file mode 100644
index 0000000000..668d8dfb8b
--- /dev/null
+++ b/testing/web-platform/meta/html/anonymous-iframe/embedding.tentative.https.window.js.ini
@@ -0,0 +1,118 @@
+[embedding.tentative.https.window.html?3-4]
+ expected:
+ if (os == "android") and debug and fission: [TIMEOUT, OK]
+ if (os == "android") and not debug: [OK, TIMEOUT]
+ [COEP:require-corp parent embeds same-origin anonymous iframe]
+ expected: FAIL
+
+ [COEP:require-corp parent embeds cross-origin anonymous iframe]
+ expected: FAIL
+
+
+[embedding.tentative.https.window.html?5-6]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [COEP:credentialless parent embeds same-origin anonymous iframe]
+ expected: FAIL
+
+ [COEP:credentialless parent embeds cross-origin anonymous iframe]
+ expected: FAIL
+
+
+[embedding.tentative.https.window.html?7-8]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [COOP:same-origin + COEP:require-corp embeds same-origin anonymous iframe]
+ expected: FAIL
+
+ [COOP:same-origin + COEP:require-corp embeds cross-origin anonymous iframe]
+ expected: FAIL
+
+
+[embedding.tentative.https.window.html?1-2]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Parent embeds same-origin anonymous iframe]
+ expected:
+ if (os == "linux") and not fission and debug and swgl: [PASS, FAIL]
+ if (os == "linux") and not fission and not debug: [PASS, FAIL]
+
+
+[embedding.tentative.https.window.html?9-10]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [COOP:same-origin + COEP:credentialless embeds same-origin anonymous iframe]
+ expected: FAIL
+
+ [COOP:same-origin + COEP:credentialless embeds cross-origin anonymous iframe]
+ expected: FAIL
+
+
+[embedding.tentative.https.window.html?13-last]
+ [Cross-Origin-Isolated parent embeds cross-origin COEP credentialless iframe]
+ expected: FAIL
+
+
+[embedding.tentative.https.window.html?11-12]
+ expected:
+ if (os == "android") and debug and fission: [OK, TIMEOUT]
+ if (os == "android") and not debug: [OK, TIMEOUT]
+
+[embedding.tentative.https.window.html?2-2]
+ expected:
+ if (os == "android") and not debug: [OK, TIMEOUT]
+
+[embedding.tentative.https.window.html?6-6]
+ expected:
+ if (os == "android") and not debug: [OK, TIMEOUT]
+ [COEP:credentialless parent embeds cross-origin credentialless iframe]
+ expected: FAIL
+
+
+[embedding.tentative.https.window.html?9-9]
+ expected:
+ if (os == "android") and not debug: [OK, TIMEOUT]
+ [COOP:same-origin + COEP:credentialless embeds same-origin credentialless iframe]
+ expected: FAIL
+
+
+[embedding.tentative.https.window.html?8-8]
+ expected:
+ if (os == "android") and not debug: [OK, TIMEOUT]
+ [COOP:same-origin + COEP:require-corp embeds cross-origin credentialless iframe]
+ expected: FAIL
+
+
+[embedding.tentative.https.window.html?3-3]
+ [COEP:require-corp parent embeds same-origin credentialless iframe]
+ expected: FAIL
+
+
+[embedding.tentative.https.window.html?4-4]
+ [COEP:require-corp parent embeds cross-origin credentialless iframe]
+ expected: FAIL
+
+
+[embedding.tentative.https.window.html?1-1]
+
+[embedding.tentative.https.window.html?11-11]
+
+[embedding.tentative.https.window.html?10-10]
+ [COOP:same-origin + COEP:credentialless embeds cross-origin credentialless iframe]
+ expected: FAIL
+
+
+[embedding.tentative.https.window.html?5-5]
+ [COEP:credentialless parent embeds same-origin credentialless iframe]
+ expected: FAIL
+
+
+[embedding.tentative.https.window.html?12-12]
+ expected:
+ if (os == "android") and not debug: [OK, TIMEOUT]
+
+[embedding.tentative.https.window.html?7-7]
+ expected:
+ if (os == "android") and not debug: [OK, TIMEOUT]
+ [COOP:same-origin + COEP:require-corp embeds same-origin credentialless iframe]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/anonymous-iframe/fenced-frame-bypass.tentative.https.window.js.ini b/testing/web-platform/meta/html/anonymous-iframe/fenced-frame-bypass.tentative.https.window.js.ini
new file mode 100644
index 0000000000..a045b2f12d
--- /dev/null
+++ b/testing/web-platform/meta/html/anonymous-iframe/fenced-frame-bypass.tentative.https.window.js.ini
@@ -0,0 +1,4 @@
+[fenced-frame-bypass.tentative.https.window.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
diff --git a/testing/web-platform/meta/html/anonymous-iframe/fenced-frame.tentative.https.window.js.ini b/testing/web-platform/meta/html/anonymous-iframe/fenced-frame.tentative.https.window.js.ini
new file mode 100644
index 0000000000..f46be4fd24
--- /dev/null
+++ b/testing/web-platform/meta/html/anonymous-iframe/fenced-frame.tentative.https.window.js.ini
@@ -0,0 +1,4 @@
+[fenced-frame.tentative.https.window.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
diff --git a/testing/web-platform/meta/html/anonymous-iframe/indexeddb.tentative.https.window.js.ini b/testing/web-platform/meta/html/anonymous-iframe/indexeddb.tentative.https.window.js.ini
new file mode 100644
index 0000000000..645139a686
--- /dev/null
+++ b/testing/web-platform/meta/html/anonymous-iframe/indexeddb.tentative.https.window.js.ini
@@ -0,0 +1,5 @@
+[indexeddb.tentative.https.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [indexeddb]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/anonymous-iframe/initial-empty-document.tentative.https.window.js.ini b/testing/web-platform/meta/html/anonymous-iframe/initial-empty-document.tentative.https.window.js.ini
new file mode 100644
index 0000000000..bc7b9004ce
--- /dev/null
+++ b/testing/web-platform/meta/html/anonymous-iframe/initial-empty-document.tentative.https.window.js.ini
@@ -0,0 +1,8 @@
+[initial-empty-document.tentative.https.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Initial empty document inherits from parent's document.]
+ expected: FAIL
+
+ [Initial empty document inherits from its's iframe's credentialless attribute.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/anonymous-iframe/local-storage-initial-empty-document.tentative.https.window.js.ini b/testing/web-platform/meta/html/anonymous-iframe/local-storage-initial-empty-document.tentative.https.window.js.ini
new file mode 100644
index 0000000000..202d405933
--- /dev/null
+++ b/testing/web-platform/meta/html/anonymous-iframe/local-storage-initial-empty-document.tentative.https.window.js.ini
@@ -0,0 +1,5 @@
+[local-storage-initial-empty-document.tentative.https.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Local storage is correctly partitioned with regards to credentialless iframe in initial empty documents.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/anonymous-iframe/local-storage.tentative.https.window.js.ini b/testing/web-platform/meta/html/anonymous-iframe/local-storage.tentative.https.window.js.ini
new file mode 100644
index 0000000000..dd90089621
--- /dev/null
+++ b/testing/web-platform/meta/html/anonymous-iframe/local-storage.tentative.https.window.js.ini
@@ -0,0 +1,6 @@
+[local-storage.tentative.https.window.html]
+ expected:
+ if (os == "win") and not debug and (processor == "x86_64"): [OK, TIMEOUT]
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Local storage is correctly partitioned with regards to credentialless iframe]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/anonymous-iframe/require-corp-embed-anonymous-iframe.tentative.https.window.js.ini b/testing/web-platform/meta/html/anonymous-iframe/require-corp-embed-anonymous-iframe.tentative.https.window.js.ini
new file mode 100644
index 0000000000..06cd6e3d8c
--- /dev/null
+++ b/testing/web-platform/meta/html/anonymous-iframe/require-corp-embed-anonymous-iframe.tentative.https.window.js.ini
@@ -0,0 +1,5 @@
+[require-corp-embed-anonymous-iframe.tentative.https.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Loading a credentialless iframe with COEP: require-corp is allowed.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/anonymous-iframe/serviceworker-partitioning.tentative.https.window.js.ini b/testing/web-platform/meta/html/anonymous-iframe/serviceworker-partitioning.tentative.https.window.js.ini
new file mode 100644
index 0000000000..347fbd53d5
--- /dev/null
+++ b/testing/web-platform/meta/html/anonymous-iframe/serviceworker-partitioning.tentative.https.window.js.ini
@@ -0,0 +1,6 @@
+[serviceworker-partitioning.tentative.https.window.html]
+ expected:
+ if (os == "win") and not debug and (processor == "x86_64"): [OK, TIMEOUT]
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [credentialless iframes get partitioned service workers.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/anonymous-iframe/session-storage.tentative.https.window.js.ini b/testing/web-platform/meta/html/anonymous-iframe/session-storage.tentative.https.window.js.ini
new file mode 100644
index 0000000000..f7e38ff5e4
--- /dev/null
+++ b/testing/web-platform/meta/html/anonymous-iframe/session-storage.tentative.https.window.js.ini
@@ -0,0 +1,5 @@
+[session-storage.tentative.https.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Session storage is correctly partitioned with regards to credentialless iframe]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/anonymous-iframe/sharedworker-partitioning.tentative.https.window.js.ini b/testing/web-platform/meta/html/anonymous-iframe/sharedworker-partitioning.tentative.https.window.js.ini
new file mode 100644
index 0000000000..981724be36
--- /dev/null
+++ b/testing/web-platform/meta/html/anonymous-iframe/sharedworker-partitioning.tentative.https.window.js.ini
@@ -0,0 +1,5 @@
+[sharedworker-partitioning.tentative.https.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [credentialless iframes get partitioned shared workers.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/anonymous-iframe/web-lock.tentative.https.window.js.ini b/testing/web-platform/meta/html/anonymous-iframe/web-lock.tentative.https.window.js.ini
new file mode 100644
index 0000000000..015b549860
--- /dev/null
+++ b/testing/web-platform/meta/html/anonymous-iframe/web-lock.tentative.https.window.js.ini
@@ -0,0 +1,5 @@
+[web-lock.tentative.https.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [web-lock]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/anonymous-iframe/worker-cookies.tentative.https.window.js.ini b/testing/web-platform/meta/html/anonymous-iframe/worker-cookies.tentative.https.window.js.ini
new file mode 100644
index 0000000000..e28f6930c1
--- /dev/null
+++ b/testing/web-platform/meta/html/anonymous-iframe/worker-cookies.tentative.https.window.js.ini
@@ -0,0 +1,13 @@
+[worker-cookies.tentative.https.window.html?worker=dedicated_worker]
+ [Worker spawned from credentialless iframe can't access global cookies]
+ expected: FAIL
+
+
+[worker-cookies.tentative.https.window.html?worker=service_worker]
+ [Worker spawned from credentialless iframe can't access global cookies]
+ expected: FAIL
+
+
+[worker-cookies.tentative.https.window.html?worker=shared_worker]
+ [Worker spawned from credentialless iframe can't access global cookies]
+ expected: FAIL