diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/meta/html/cross-origin-opener-policy | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/html/cross-origin-opener-policy')
94 files changed, 1962 insertions, 0 deletions
diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/__dir__.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/__dir__.ini new file mode 100644 index 0000000000..8be420c631 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/__dir__.ini @@ -0,0 +1,3 @@ +prefs: [browser.tabs.remote.useCrossOriginOpenerPolicy:true, browser.tabs.remote.useCrossOriginEmbedderPolicy:true] +lsan-allowed: [maybe_pod_malloc] +leak-threshold: [default:51200, tab:102400] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/coep-blob-popup.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/coep-blob-popup.https.html.ini new file mode 100644 index 0000000000..6aa9064e8f --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/coep-blob-popup.https.html.ini @@ -0,0 +1,3 @@ +[coep-blob-popup.https.html] + [COOP+COEP blob URL popup: <a rel=noopener>] + expected: FAIL diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/coep-navigate-popup.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/coep-navigate-popup.https.html.ini new file mode 100644 index 0000000000..8ff88706a4 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/coep-navigate-popup.https.html.ini @@ -0,0 +1,11 @@ +[coep-navigate-popup.https.html?0-1] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[coep-navigate-popup.https.html?2-3] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[coep-navigate-popup.https.html?4-last] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/coep-redirect.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/coep-redirect.https.html.ini new file mode 100644 index 0000000000..7dcdd90cf3 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/coep-redirect.https.html.ini @@ -0,0 +1,4 @@ +[coep-redirect.https.html] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, ERROR] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/coep-with-same-site.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/coep-with-same-site.https.html.ini new file mode 100644 index 0000000000..fbae206b7c --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/coep-with-same-site.https.html.ini @@ -0,0 +1,3 @@ +[coep-with-same-site.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/coop-coep-sandbox.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-coep-sandbox.https.html.ini new file mode 100644 index 0000000000..628aa87dea --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-coep-sandbox.https.html.ini @@ -0,0 +1,3 @@ +[coop-coep-sandbox.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/coop-csp-sandbox-navigate.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-csp-sandbox-navigate.https.html.ini new file mode 100644 index 0000000000..36627163ae --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-csp-sandbox-navigate.https.html.ini @@ -0,0 +1,8 @@ +[coop-csp-sandbox-navigate.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [CSP: sandbox allow-popups allow-scripts allow-same-origin; CSP sandbox popup navigate to Cross-Origin-Opener-Policy document should work] + expected: [PASS, FAIL] + + [CSP: sandbox allow-popups allow-scripts; CSP sandbox popup navigate to Cross-Origin-Opener-Policy document should work] + expected: [PASS, FAIL] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/coop-csp-sandbox.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-csp-sandbox.https.html.ini new file mode 100644 index 0000000000..5da78d95b9 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-csp-sandbox.https.html.ini @@ -0,0 +1,3 @@ +[coop-csp-sandbox.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/coop-navigate-same-origin-csp-sandbox.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-navigate-same-origin-csp-sandbox.html.ini new file mode 100644 index 0000000000..ba5076d59e --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-navigate-same-origin-csp-sandbox.html.ini @@ -0,0 +1,5 @@ +[coop-navigate-same-origin-csp-sandbox.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [coop-navigate-same-origin-csp-sandbox] + expected: FAIL diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/coop-navigated-history-popup.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-navigated-history-popup.https.html.ini new file mode 100644 index 0000000000..6a51c1c51b --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-navigated-history-popup.https.html.ini @@ -0,0 +1,3 @@ +[coop-navigated-history-popup.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/coop-navigated-popup.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-navigated-popup.https.html.ini new file mode 100644 index 0000000000..c20857a264 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-navigated-popup.https.html.ini @@ -0,0 +1,3 @@ +[coop-navigated-popup.https.html] + expected: + if (os == "android") and not debug: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/coop-popup-opener-navigates.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-popup-opener-navigates.https.html.ini new file mode 100644 index 0000000000..855cdbd1fa --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-popup-opener-navigates.https.html.ini @@ -0,0 +1,4 @@ +[coop-popup-opener-navigates.https.html] + expected: + if (os == "android") and not swgl and debug: [OK, TIMEOUT] + if (os == "android") and not swgl and not debug: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/coop-same-origin-allow-popups-document-write.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-same-origin-allow-popups-document-write.html.ini new file mode 100644 index 0000000000..f22653d171 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-same-origin-allow-popups-document-write.html.ini @@ -0,0 +1,3 @@ +[coop-same-origin-allow-popups-document-write.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/coop-sandbox-cuts-opener.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-sandbox-cuts-opener.https.html.ini new file mode 100644 index 0000000000..cc5686c0ef --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-sandbox-cuts-opener.https.html.ini @@ -0,0 +1,8 @@ +[coop-sandbox-cuts-opener.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [<iframe sandbox="allow-popups allow-scripts allow-same-origin"> Sandboxed Cross-Origin-Opener-Policy popup should cut the opener if necessary] + expected: FAIL + + [<iframe sandbox="allow-popups allow-scripts"> Sandboxed Cross-Origin-Opener-Policy popup should cut the opener if necessary] + expected: FAIL diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/coop-sandbox-redirects-cuts-opener.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-sandbox-redirects-cuts-opener.https.html.ini new file mode 100644 index 0000000000..88fc269a1c --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-sandbox-redirects-cuts-opener.https.html.ini @@ -0,0 +1,8 @@ +[coop-sandbox-redirects-cuts-opener.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [<iframe sandbox="allow-popups allow-scripts allow-same-origin"> Sandboxed Cross-Origin-Opener-Policy popup should cut the opener if necessary including during redirects.] + expected: FAIL + + [<iframe sandbox="allow-popups allow-scripts"> Sandboxed Cross-Origin-Opener-Policy popup should cut the opener if necessary including during redirects.] + expected: FAIL diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/coop-sandbox.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-sandbox.https.html.ini new file mode 100644 index 0000000000..9ebd72ec77 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/coop-sandbox.https.html.ini @@ -0,0 +1,3 @@ +[coop-sandbox.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/header-parsing-failures.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/header-parsing-failures.https.html.ini new file mode 100644 index 0000000000..7c4b9dec0a --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/header-parsing-failures.https.html.ini @@ -0,0 +1,13 @@ +[header-parsing-failures.https.html?5-8] + +[header-parsing-failures.https.html?1-4] + expected: + if (os == "android") and not debug: [OK, TIMEOUT] + +[header-parsing-failures.https.html?12-last] + expected: + if (os == "android") and not debug: [OK, TIMEOUT] + +[header-parsing-failures.https.html?9-12] + expected: + if (os == "android") and not debug: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/header-parsing-non-ascii.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/header-parsing-non-ascii.https.html.ini new file mode 100644 index 0000000000..a69ee1582b --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/header-parsing-non-ascii.https.html.ini @@ -0,0 +1,4 @@ +[header-parsing-non-ascii.https.html] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/header-parsing-repeated.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/header-parsing-repeated.https.html.ini new file mode 100644 index 0000000000..b3afe55aa2 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/header-parsing-repeated.https.html.ini @@ -0,0 +1,4 @@ +[header-parsing-repeated.https.html] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/header-parsing-successes.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/header-parsing-successes.https.html.ini new file mode 100644 index 0000000000..5505c64c97 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/header-parsing-successes.https.html.ini @@ -0,0 +1,4 @@ +[header-parsing-successes.https.html] + expected: + if (os == "android") and not fission and not debug: [OK, TIMEOUT] + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-cross-origin.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-cross-origin.https.html.ini new file mode 100644 index 0000000000..e3bd4cc99d --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-cross-origin.https.html.ini @@ -0,0 +1,6 @@ +[popup-same-origin-unsafe-allow-outgoing-with-cross-origin.https.html] + prefs: [network.cookie.cookieBehavior:4] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [OK, ERROR, TIMEOUT] + if (os == "android") and fission: [OK, TIMEOUT] + if os == "mac": [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-same-origin.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-same-origin.https.html.ini new file mode 100644 index 0000000000..43014339d8 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-same-origin.https.html.ini @@ -0,0 +1,3 @@ +[popup-same-origin-unsafe-allow-outgoing-with-same-origin.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-same-site.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-same-site.https.html.ini new file mode 100644 index 0000000000..5462c2f450 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-same-site.https.html.ini @@ -0,0 +1,4 @@ +[popup-same-origin-unsafe-allow-outgoing-with-same-site.https.html] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-cross-origin.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-cross-origin.https.html.ini new file mode 100644 index 0000000000..196c1ac3b8 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-cross-origin.https.html.ini @@ -0,0 +1,6 @@ +[popup-same-site-unsafe-allow-outgoing-with-cross-origin.https.html] + prefs: [network.cookie.cookieBehavior:4] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [OK, ERROR, TIMEOUT] + if (os == "android") and fission: [OK, TIMEOUT] + if os == "mac": [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-same-origin.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-same-origin.https.html.ini new file mode 100644 index 0000000000..b0456e83fd --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-same-origin.https.html.ini @@ -0,0 +1,3 @@ +[popup-same-site-unsafe-allow-outgoing-with-same-origin.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-same-site.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-same-site.https.html.ini new file mode 100644 index 0000000000..a21c315f5f --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-same-site.https.html.ini @@ -0,0 +1,4 @@ +[popup-same-site-unsafe-allow-outgoing-with-same-site.https.html] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-site-with-cross-origin.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-site-with-cross-origin.https.html.ini new file mode 100644 index 0000000000..31bc92285e --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-site-with-cross-origin.https.html.ini @@ -0,0 +1,6 @@ +[popup-same-site-with-cross-origin.https.html] + prefs: [network.cookie.cookieBehavior:4] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [OK, ERROR, TIMEOUT] + if (os == "android") and fission: [OK, TIMEOUT] + if os == "mac": [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-site-with-same-origin.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-site-with-same-origin.https.html.ini new file mode 100644 index 0000000000..20dc537d19 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-site-with-same-origin.https.html.ini @@ -0,0 +1,3 @@ +[popup-same-site-with-same-origin.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-site-with-same-site.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-site-with-same-site.https.html.ini new file mode 100644 index 0000000000..a5c6ecc024 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/historical/popup-same-site-with-same-site.https.html.ini @@ -0,0 +1,5 @@ +[popup-same-site-with-same-site.https.html] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "mac") and not debug: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin-allow-popups.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin-allow-popups.https.html.ini new file mode 100644 index 0000000000..d3c56b72c0 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin-allow-popups.https.html.ini @@ -0,0 +1,102 @@ +[iframe-popup-same-origin-allow-popups-to-same-origin-allow-popups.https.html] + prefs: [network.cookie.cookieBehavior:4] + expected: + if (os == "linux") and fission and not swgl and debug: [ERROR, OK, TIMEOUT] + if (os == "win") and debug and not swgl and (processor == "x86_64"): [ERROR, OK, TIMEOUT] + if os == "mac": [OK, TIMEOUT] + if os == "android": [OK, TIMEOUT] + ERROR + [same-origin-allow-popups with SAME_SITE iframe opening popup via window_open a CROSS_ORIGIN with COOP: "same-origin-allow-popups"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and not swgl and (processor == "x86_64"): [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with CROSS_ORIGIN iframe opening popup via anchor a CROSS_ORIGIN with COOP: "same-origin-allow-popups"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and not swgl and (processor == "x86_64"): [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with CROSS_ORIGIN iframe opening popup via form_GET a CROSS_ORIGIN with COOP: "same-origin-allow-popups"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and not swgl and (processor == "x86_64"): [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_SITE iframe opening popup via form_POST a CROSS_ORIGIN with COOP: "same-origin-allow-popups"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and not swgl and (processor == "x86_64"): [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_SITE iframe opening popup via anchor a CROSS_ORIGIN with COOP: "same-origin-allow-popups"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and not swgl and (processor == "x86_64"): [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_ORIGIN iframe opening popup via window_open a CROSS_ORIGIN with COOP: "same-origin-allow-popups"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and not swgl and (processor == "x86_64"): [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with CROSS_ORIGIN iframe opening popup via window_open a CROSS_ORIGIN with COOP: "same-origin-allow-popups"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and not swgl and (processor == "x86_64"): [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with CROSS_ORIGIN iframe opening popup via form_POST a CROSS_ORIGIN with COOP: "same-origin-allow-popups"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and not swgl and (processor == "x86_64"): [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_ORIGIN iframe opening popup via anchor a CROSS_ORIGIN with COOP: "same-origin-allow-popups"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and not swgl and (processor == "x86_64"): [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_SITE iframe opening popup via form_GET a CROSS_ORIGIN with COOP: "same-origin-allow-popups"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and not swgl and (processor == "x86_64"): [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_ORIGIN iframe opening popup via form_GET a CROSS_ORIGIN with COOP: "same-origin-allow-popups"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and not swgl and (processor == "x86_64"): [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_ORIGIN iframe opening popup via form_POST a CROSS_ORIGIN with COOP: "same-origin-allow-popups"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and not swgl and (processor == "x86_64"): [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + +[iframe-popup-same-origin-allow-popups-to-same-origin-allow-popups.https.html?9-last] + expected: + if os == "android": [OK, TIMEOUT] + +[iframe-popup-same-origin-allow-popups-to-same-origin-allow-popups.https.html?5-6] + expected: + if os == "android": [OK, TIMEOUT] + +[iframe-popup-same-origin-allow-popups-to-same-origin-allow-popups.https.html?7-8] + expected: + if os == "android": [OK, TIMEOUT] + +[iframe-popup-same-origin-allow-popups-to-same-origin-allow-popups.https.html?1-2] + expected: + if (os == "android") and not swgl and not debug: [OK, TIMEOUT] + if (os == "android") and not swgl and debug: [OK, TIMEOUT] + if (os == "android") and swgl: [OK, TIMEOUT] + +[iframe-popup-same-origin-allow-popups-to-same-origin-allow-popups.https.html?3-4] + expected: + if os == "android": [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin.https.html.ini new file mode 100644 index 0000000000..42476f9c93 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin.https.html.ini @@ -0,0 +1,107 @@ +[iframe-popup-same-origin-allow-popups-to-same-origin.https.html] + prefs: [network.cookie.cookieBehavior:4] + expected: + if (os == "linux") and debug and fission and not swgl: [ERROR, OK, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [ERROR, OK, TIMEOUT] + if (os == "android") and debug and not swgl: [ERROR, OK, TIMEOUT] + if os == "mac": [OK, TIMEOUT] + ERROR + [same-origin-allow-popups with CROSS_ORIGIN iframe opening popup via anchor a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_SITE iframe opening popup via form_GET a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_SITE iframe opening popup via form_POST a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with CROSS_ORIGIN iframe opening popup via form_POST a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_SITE iframe opening popup via window_open a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with CROSS_ORIGIN iframe opening popup via form_GET a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_ORIGIN iframe opening popup via anchor a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_ORIGIN iframe opening popup via form_POST a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_ORIGIN iframe opening popup via form_GET a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with CROSS_ORIGIN iframe opening popup via window_open a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_SITE iframe opening popup via anchor a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_ORIGIN iframe opening popup via window_open a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + +[iframe-popup-same-origin-allow-popups-to-same-origin.https.html?5-6] + expected: + if (os == "android") and debug and not swgl: [OK, TIMEOUT] + if (os == "android") and debug and swgl: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-same-origin-allow-popups-to-same-origin.https.html?7-8] + expected: + if (os == "android") and debug and swgl: [OK, TIMEOUT] + if (os == "android") and debug and not swgl: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-same-origin-allow-popups-to-same-origin.https.html?1-2] + expected: + if (os == "android") and debug: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-same-origin-allow-popups-to-same-origin.https.html?9-last] + expected: + if (os == "android") and debug and not swgl: [OK, TIMEOUT] + if (os == "android") and debug and swgl: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-same-origin-allow-popups-to-same-origin.https.html?3-4] + expected: + if (os == "android") and not swgl: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-unsafe-none.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-unsafe-none.https.html.ini new file mode 100644 index 0000000000..0945a281a3 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-unsafe-none.https.html.ini @@ -0,0 +1,117 @@ +[iframe-popup-same-origin-allow-popups-to-unsafe-none.https.html] + expected: + if (os == "win") and debug and (processor == "x86_64") and swgl: ERROR + if (os == "win") and debug and (processor == "x86"): ERROR + if (os == "win") and not debug: ERROR + if (os == "linux") and not fission: ERROR + if (os == "android") and not swgl: [ERROR, OK, TIMEOUT, CRASH] + if (os == "android") and swgl: [ERROR, OK, TIMEOUT, CRASH] + [ERROR, OK, TIMEOUT] + prefs: [network.cookie.cookieBehavior:4] + [same-origin-allow-popups with SAME_ORIGIN iframe opening popup via form_POST a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_SITE iframe opening popup via form_POST a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with CROSS_ORIGIN iframe opening popup via window_open a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_SITE iframe opening popup via anchor a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_SITE iframe opening popup via window_open a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with CROSS_ORIGIN iframe opening popup via form_POST a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_ORIGIN iframe opening popup via anchor a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_ORIGIN iframe opening popup via form_GET a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with CROSS_ORIGIN iframe opening popup via anchor a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_ORIGIN iframe opening popup via window_open a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with CROSS_ORIGIN iframe opening popup via form_GET a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin-allow-popups with SAME_SITE iframe opening popup via form_GET a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + +[iframe-popup-same-origin-allow-popups-to-unsafe-none.https.html?1-3] + expected: + if (os == "linux") and not debug and fission: [OK, TIMEOUT] + if (os == "linux") and not debug and not fission: [TIMEOUT, OK] + [COOP: same-origin-allow-popups to popup COOP: unsafe-none via an iframe, with cross origin iframe, same origin popup with form] + expected: + if (os == "linux") and not debug and not fission: [TIMEOUT, PASS] + if (os == "linux") and not debug and fission: [PASS, TIMEOUT] + + +[iframe-popup-same-origin-allow-popups-to-unsafe-none.https.html?5-6] + expected: + if (os == "android") and not debug: [OK, TIMEOUT] + if (os == "android") and debug: [OK, TIMEOUT] + +[iframe-popup-same-origin-allow-popups-to-unsafe-none.https.html?7-8] + expected: + if (os == "android") and not swgl and not debug: [OK, TIMEOUT] + if (os == "android") and not swgl and debug: [OK, TIMEOUT] + if (os == "android") and swgl: [OK, TIMEOUT] + +[iframe-popup-same-origin-allow-popups-to-unsafe-none.https.html?3-4] + expected: + if os == "android": [OK, TIMEOUT] + +[iframe-popup-same-origin-allow-popups-to-unsafe-none.https.html?1-2] + expected: + if (os == "android") and debug and not swgl: [OK, TIMEOUT] + if (os == "android") and debug and swgl: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-same-origin-allow-popups-to-unsafe-none.https.html?9-last] + expected: + if os == "android": [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/iframe-popup-same-origin-to-same-origin.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/iframe-popup-same-origin-to-same-origin.https.html.ini new file mode 100644 index 0000000000..8bc36fe24a --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/iframe-popup-same-origin-to-same-origin.https.html.ini @@ -0,0 +1,110 @@ +[iframe-popup-same-origin-to-same-origin.https.html] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [ERROR, OK, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [ERROR, OK, TIMEOUT] + if os == "android": [ERROR, OK, TIMEOUT, CRASH] + if os == "mac": [OK, TIMEOUT] + ERROR + prefs: [network.cookie.cookieBehavior:4] + [same-origin with CROSS_ORIGIN iframe opening popup via form_POST a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with CROSS_ORIGIN iframe opening popup via window_open a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with SAME_SITE iframe opening popup via anchor a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with SAME_SITE iframe opening popup via form_GET a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with SAME_SITE iframe opening popup via form_POST a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with CROSS_ORIGIN iframe opening popup via anchor a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with SAME_ORIGIN iframe opening popup via window_open a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with SAME_ORIGIN iframe opening popup via form_GET a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with SAME_ORIGIN iframe opening popup via anchor a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with CROSS_ORIGIN iframe opening popup via form_GET a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with SAME_SITE iframe opening popup via window_open a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with SAME_ORIGIN iframe opening popup via form_POST a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + +[iframe-popup-same-origin-to-same-origin.https.html?7-last] + expected: + if os == "android": [OK, TIMEOUT] + +[iframe-popup-same-origin-to-same-origin.https.html?9-last] + expected: + if (os == "android") and debug: [OK, TIMEOUT] + if (os == "android") and not debug: [TIMEOUT, OK] + +[iframe-popup-same-origin-to-same-origin.https.html?7-8] + expected: + if (os == "android") and debug and not swgl: [OK, TIMEOUT] + if (os == "android") and debug and swgl: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-same-origin-to-same-origin.https.html?5-6] + expected: + if (os == "android") and debug: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-same-origin-to-same-origin.https.html?3-4] + expected: + if os == "android": [OK, TIMEOUT] + +[iframe-popup-same-origin-to-same-origin.https.html?1-2] + expected: + if (os == "android") and debug and not swgl: [OK, TIMEOUT] + if (os == "android") and debug and swgl: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/iframe-popup-same-origin-to-unsafe-none.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/iframe-popup-same-origin-to-unsafe-none.https.html.ini new file mode 100644 index 0000000000..5c18bfeef4 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/iframe-popup-same-origin-to-unsafe-none.https.html.ini @@ -0,0 +1,108 @@ +[iframe-popup-same-origin-to-unsafe-none.https.html] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [ERROR, OK, TIMEOUT] + if (os == "linux") and fission and not swgl: [ERROR, OK, TIMEOUT] + if (os == "android") and not swgl: [ERROR, OK, TIMEOUT, CRASH] + if (os == "android") and swgl: [ERROR, OK, TIMEOUT] + if os == "mac": [OK, TIMEOUT] + ERROR + prefs: [network.cookie.cookieBehavior:4] + [same-origin with SAME_SITE iframe opening popup via window_open a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with SAME_SITE iframe opening popup via anchor a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with CROSS_ORIGIN iframe opening popup via window_open a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with SAME_SITE iframe opening popup via form_POST a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with SAME_ORIGIN iframe opening popup via window_open a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with SAME_ORIGIN iframe opening popup via form_GET a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with CROSS_ORIGIN iframe opening popup via anchor a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with SAME_ORIGIN iframe opening popup via anchor a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with CROSS_ORIGIN iframe opening popup via form_GET a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with SAME_SITE iframe opening popup via form_GET a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with SAME_ORIGIN iframe opening popup via form_POST a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [same-origin with CROSS_ORIGIN iframe opening popup via form_POST a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + +[iframe-popup-same-origin-to-unsafe-none.https.html?1-3] + expected: + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-same-origin-to-unsafe-none.https.html?7-8] + expected: + if os == "android": [OK, TIMEOUT] + +[iframe-popup-same-origin-to-unsafe-none.https.html?1-2] + expected: + if (os == "android") and debug: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-same-origin-to-unsafe-none.https.html?9-last] + expected: + if os == "android": [OK, TIMEOUT] + +[iframe-popup-same-origin-to-unsafe-none.https.html?3-4] + expected: + if (os == "android") and debug and swgl: [OK, TIMEOUT] + if (os == "android") and debug and not swgl: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-same-origin-to-unsafe-none.https.html?5-6] + expected: + if os == "android": [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/iframe-popup-unsafe-none-to-same-origin.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/iframe-popup-unsafe-none-to-same-origin.https.html.ini new file mode 100644 index 0000000000..bff0508c0a --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/iframe-popup-unsafe-none-to-same-origin.https.html.ini @@ -0,0 +1,100 @@ +[iframe-popup-unsafe-none-to-same-origin.https.html] + expected: + if (os == "linux") and fission and not swgl: [ERROR, OK, TIMEOUT] + if (os == "win") and debug and not swgl and (processor == "x86_64"): [ERROR, OK, TIMEOUT] + if os == "mac": [OK, TIMEOUT] + ERROR + prefs: [network.cookie.cookieBehavior:4] + [unsafe-none with CROSS_ORIGIN iframe opening popup via form_POST a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with SAME_ORIGIN iframe opening popup via form_POST a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with CROSS_ORIGIN iframe opening popup via form_GET a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with SAME_ORIGIN iframe opening popup via form_GET a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with SAME_ORIGIN iframe opening popup via anchor a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with SAME_SITE iframe opening popup via anchor a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with SAME_SITE iframe opening popup via window_open a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with SAME_SITE iframe opening popup via form_POST a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with SAME_SITE iframe opening popup via form_GET a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with SAME_ORIGIN iframe opening popup via window_open a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with CROSS_ORIGIN iframe opening popup via anchor a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with CROSS_ORIGIN iframe opening popup via window_open a CROSS_ORIGIN with COOP: "same-origin"] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + +[iframe-popup-unsafe-none-to-same-origin.https.html?5-6] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[iframe-popup-unsafe-none-to-same-origin.https.html?1-2] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[iframe-popup-unsafe-none-to-same-origin.https.html?9-last] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[iframe-popup-unsafe-none-to-same-origin.https.html?7-8] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-unsafe-none-to-same-origin.https.html?3-4] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/iframe-popup-unsafe-none-to-unsafe-none.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/iframe-popup-unsafe-none-to-unsafe-none.https.html.ini new file mode 100644 index 0000000000..49075fb6aa --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/iframe-popup-unsafe-none-to-unsafe-none.https.html.ini @@ -0,0 +1,116 @@ +[iframe-popup-unsafe-none-to-unsafe-none.https.html] + expected: + if (os == "win") and debug and not swgl and (processor == "x86"): ERROR + if (os == "linux") and fission and swgl: ERROR + if (os == "win") and debug and swgl: ERROR + if (os == "linux") and not fission: ERROR + if (os == "android") and debug: ERROR + if (os == "win") and not debug: ERROR + [ERROR, OK, TIMEOUT] + prefs: [network.cookie.cookieBehavior:4] + [unsafe-none with SAME_ORIGIN iframe opening popup via form_POST a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with CROSS_ORIGIN iframe opening popup via form_POST a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with SAME_SITE iframe opening popup via window_open a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with SAME_SITE iframe opening popup via anchor a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with CROSS_ORIGIN iframe opening popup via form_GET a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with SAME_SITE iframe opening popup via form_GET a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with SAME_SITE iframe opening popup via form_POST a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with SAME_ORIGIN iframe opening popup via anchor a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with SAME_ORIGIN iframe opening popup via form_GET a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with SAME_ORIGIN iframe opening popup via window_open a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with CROSS_ORIGIN iframe opening popup via window_open a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [unsafe-none with CROSS_ORIGIN iframe opening popup via anchor a CROSS_ORIGIN with COOP: ""] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + +[iframe-popup-unsafe-none-to-unsafe-none.https.html?1-3] + expected: + if (os == "linux") and not debug and not fission: [TIMEOUT, OK] + [COOP: unsafe-none to popup COOP: unsafe-none via an iframe, with cross origin iframe, same origin popup with form] + expected: + if (os == "linux") and not debug and not fission: [TIMEOUT, PASS] + + +[iframe-popup-unsafe-none-to-unsafe-none.https.html?7-last] + expected: + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-unsafe-none-to-unsafe-none.https.html?7-8] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-unsafe-none-to-unsafe-none.https.html?3-4] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[iframe-popup-unsafe-none-to-unsafe-none.https.html?1-2] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-unsafe-none-to-unsafe-none.https.html?5-6] + expected: + if (os == "android") and fission: [TIMEOUT, OK] + +[iframe-popup-unsafe-none-to-unsafe-none.https.html?9-last] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/javascript-url.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/javascript-url.https.html.ini new file mode 100644 index 0000000000..829df6204f --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/javascript-url.https.html.ini @@ -0,0 +1,183 @@ +[javascript-url.https.html?0-3] + prefs: [network.cookie.cookieBehavior:4] + expected: + if (os == "linux") and debug and fission and not swgl: [OK, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [OK, TIMEOUT] + if (os == "android") and debug and not swgl: [OK, ERROR, TIMEOUT] + if os == "mac": [OK, TIMEOUT] + [navigation: SAME_ORIGIN; parentCOOP: unsafe-none; childCOOP: unsafe-none] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [navigation: SAME_SITE; parentCOOP: unsafe-none; childCOOP: unsafe-none] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [navigation: SAME_ORIGIN; parentCOOP: unsafe-none; childCOOP: same-origin-allow-popups] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [navigation: SAME_SITE; parentCOOP: unsafe-none; childCOOP: same-origin-allow-popups] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + +[javascript-url.https.html?8-11] + prefs: [network.cookie.cookieBehavior:4] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [OK, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [OK, TIMEOUT] + if (os == "android") and debug and not swgl: [OK, ERROR] + if os == "mac": [OK, TIMEOUT] + [navigation: SAME_ORIGIN; parentCOOP: same-origin-allow-popups; childCOOP: same-origin-allow-popups] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [navigation: SAME_SITE; parentCOOP: same-origin-allow-popups; childCOOP: same-origin-allow-popups] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [navigation: SAME_ORIGIN; parentCOOP: same-origin-allow-popups; childCOOP: same-origin] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [navigation: SAME_SITE; parentCOOP: same-origin-allow-popups; childCOOP: same-origin] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + +[javascript-url.https.html?16-last] + prefs: [network.cookie.cookieBehavior:4] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [OK, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [OK, TIMEOUT] + if (os == "android") and debug and not swgl: [OK, ERROR, TIMEOUT] + if os == "mac": [OK, TIMEOUT] + [navigation: SAME_ORIGIN; parentCOOP: same-origin; childCOOP: same-origin] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [navigation: SAME_SITE; parentCOOP: same-origin; childCOOP: same-origin] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + +[javascript-url.https.html?12-15] + prefs: [network.cookie.cookieBehavior:4] + expected: + if (os == "linux") and debug and fission and not swgl: [OK, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [OK, TIMEOUT] + if (os == "android") and debug and not swgl: [OK, ERROR, TIMEOUT] + if os == "mac": [OK, TIMEOUT] + [navigation: SAME_ORIGIN; parentCOOP: same-origin; childCOOP: unsafe-none] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [navigation: SAME_SITE; parentCOOP: same-origin; childCOOP: unsafe-none] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [navigation: SAME_ORIGIN; parentCOOP: same-origin; childCOOP: same-origin-allow-popups] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [navigation: SAME_SITE; parentCOOP: same-origin; childCOOP: same-origin-allow-popups] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + +[javascript-url.https.html?4-7] + prefs: [network.cookie.cookieBehavior:4] + expected: + if (os == "linux") and debug and fission and not swgl: [OK, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [OK, TIMEOUT] + if (os == "android") and debug and not swgl: [OK, ERROR] + if os == "mac": [OK, TIMEOUT] + [navigation: SAME_ORIGIN; parentCOOP: unsafe-none; childCOOP: same-origin] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [navigation: SAME_SITE; parentCOOP: unsafe-none; childCOOP: same-origin] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [navigation: SAME_ORIGIN; parentCOOP: same-origin-allow-popups; childCOOP: unsafe-none] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + [navigation: SAME_SITE; parentCOOP: same-origin-allow-popups; childCOOP: unsafe-none] + expected: + if (os == "linux") and debug and fission and not swgl: [PASS, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] + if os == "mac": [PASS, TIMEOUT] + + +[javascript-url.https.html?13-14] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[javascript-url.https.html?5-6] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[javascript-url.https.html?15-16] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[javascript-url.https.html?3-4] + expected: + if (os == "android") and fission: [TIMEOUT, OK] + +[javascript-url.https.html?9-10] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[javascript-url.https.html?11-12] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[javascript-url.https.html?1-2] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[javascript-url.https.html?17-last] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[javascript-url.https.html?7-8] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/navigate-to-aboutblank.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/navigate-to-aboutblank.https.html.ini new file mode 100644 index 0000000000..2dc51aaa03 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/navigate-to-aboutblank.https.html.ini @@ -0,0 +1,15 @@ +[navigate-to-aboutblank.https.html] + expected: + if (os == "android") and not fission and debug and not swgl: [OK, ERROR] + if (os == "linux") and not debug and fission: [OK, TIMEOUT] + if (os == "android") and fission: [OK, TIMEOUT, ERROR] + [Navigate to about:blank from iframe with opener.top COOP: |header(Cross-Origin-Opener-Policy,same-origin-allow-popups), iframe origin: https://web-platform.test:8443, openee COOP: |header(Cross-Origin-Opener-Policy,unsafe-none), openee origin: https://www1.web-platform.test:8443.] + expected: FAIL + + [Navigate to about:blank from iframe with opener.top COOP: |header(Cross-Origin-Opener-Policy,same-origin-allow-popups), iframe origin: https://www1.web-platform.test:8443, openee COOP: |header(Cross-Origin-Opener-Policy,unsafe-none), openee origin: https://www1.web-platform.test:8443.] + expected: + if (os == "android") and debug: [PASS, FAIL] + + [Navigate to about:blank from iframe with opener.top COOP: |header(Cross-Origin-Opener-Policy,same-origin)|header(Cross-Origin-Embedder-Policy,require-corp), iframe origin: https://web-platform.test:8443, openee COOP: |header(Cross-Origin-Opener-Policy,same-origin)|header(Cross-Origin-Embedder-Policy,require-corp), openee origin: https://web-platform.test:8443.] + expected: + if (os == "android") and debug: [PASS, FAIL] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/navigate-top-to-aboutblank.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/navigate-top-to-aboutblank.https.html.ini new file mode 100644 index 0000000000..f381a58f42 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/navigate-top-to-aboutblank.https.html.ini @@ -0,0 +1,13 @@ +[navigate-top-to-aboutblank.https.html] + expected: + if (os == "android") and fission: [OK, ERROR, TIMEOUT, CRASH] + if (os == "android") and not fission: [OK, ERROR, TIMEOUT, CRASH] + [OK, TIMEOUT, CRASH] + [Navigate top to about:blank from iframe with opener COOP: |header(Cross-Origin-Opener-Policy,same-origin), iframe origin: https://www1.web-platform.test:8443] + expected: FAIL + + [Navigate top to about:blank from iframe with opener COOP: |header(Cross-Origin-Opener-Policy,same-origin), iframe origin: https://web-platform.test:8443] + expected: FAIL + + [Navigate top to about:blank from iframe with opener COOP: |header(Cross-Origin-Opener-Policy,same-origin-allow-popups), iframe origin: https://www1.web-platform.test:8443] + expected: FAIL diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/no-https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/no-https.html.ini new file mode 100644 index 0000000000..63a51a1fe5 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/no-https.html.ini @@ -0,0 +1,7 @@ +[no-https.html] + expected: + if debug and (os == "android") and not fission and not swgl: [OK, ERROR] + if debug and (os == "android") and fission: [OK, TIMEOUT, ERROR] + if not debug and (os == "linux"): [OK, TIMEOUT] + if not debug and (os == "mac"): [OK, TIMEOUT] + if not debug and (os == "win"): [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/popup-coop-by-sw.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-coop-by-sw.https.html.ini new file mode 100644 index 0000000000..a5ca15b85d --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-coop-by-sw.https.html.ini @@ -0,0 +1,44 @@ +[popup-coop-by-sw.https.html?1-4] + expected: + if (os == "linux") and debug and not fission and swgl: [TIMEOUT, CRASH] + if (os == "linux") and debug and not fission and not swgl: [TIMEOUT, CRASH] + if (os == "win") and debug and (processor == "x86"): [TIMEOUT, CRASH] + if (os == "win") and debug and (processor == "x86_64"): [CRASH, TIMEOUT] + if (os == "linux") and debug and fission: [CRASH, TIMEOUT] + if (os == "win") and not debug: [TIMEOUT, CRASH] + if (os == "android") and not swgl: [TIMEOUT, ERROR] + TIMEOUT + [opener:basic, openee:basic, sw:basic] + expected: TIMEOUT + + [opener:basic, openee:basic, sw:coi] + expected: NOTRUN + + [opener:basic, openee:coi, sw:basic] + expected: NOTRUN + + [opener:basic, openee:coi, sw:coi] + expected: NOTRUN + + +[popup-coop-by-sw.https.html?5-last] + expected: + if (os == "linux") and debug and not fission and not swgl: [TIMEOUT, CRASH] + if (os == "linux") and debug and not fission and swgl: [TIMEOUT, CRASH] + if (os == "linux") and debug and fission: [CRASH, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64"): [CRASH, TIMEOUT] + if (os == "win") and debug and (processor == "x86"): [TIMEOUT, CRASH] + if (os == "android") and not swgl: [TIMEOUT, ERROR] + if (os == "win") and not debug: [TIMEOUT, CRASH] + TIMEOUT + [opener:coi, openee:basic, sw:basic] + expected: TIMEOUT + + [opener:coi, openee:basic, sw:coi] + expected: NOTRUN + + [opener:coi, openee:coi, sw:basic] + expected: NOTRUN + + [opener:coi, openee:coi, sw:coi] + expected: NOTRUN diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/popup-meta-http-equiv.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-meta-http-equiv.https.html.ini new file mode 100644 index 0000000000..8224bd7aaf --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-meta-http-equiv.https.html.ini @@ -0,0 +1,6 @@ +[popup-meta-http-equiv.https.html] + expected: + if (os == "android") and not fission and debug and not swgl: [OK, ERROR] + if (os == "win") and not debug and (processor == "x86"): [OK, ERROR, TIMEOUT] + if (os == "android") and fission: [OK, TIMEOUT, ERROR] + if os == "linux": [OK, ERROR, TIMEOUT, CRASH] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/popup-redirect-cache.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-redirect-cache.https.html.ini new file mode 100644 index 0000000000..df5e211ae1 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-redirect-cache.https.html.ini @@ -0,0 +1,104 @@ +[popup-redirect-cache.https.html] + prefs: [network.cookie.cookieBehavior:4] + expected: + if (os == "android") and debug and not swgl: [OK, TIMEOUT] + if (os == "android") and debug and swgl: [OK, CRASH] + if (os == "android") and not debug: [OK, CRASH, TIMEOUT] + if (os == "mac") and not debug: [OK, TIMEOUT] + [same-origin document opening popup redirect from https://www1.web-platform.test:8443 to https://not-web-platform.test:8443 with redirectCache true and destCache false] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + + [same-origin document opening popup redirect from https://web-platform.test:8443 to https://not-web-platform.test:8443 with redirectCache true and destCache true] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + + [same-origin document opening popup redirect from https://not-web-platform.test:8443 to https://web-platform.test:8443 with redirectCache true and destCache true] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + + [same-origin document opening popup redirect from https://www1.web-platform.test:8443 to https://not-web-platform.test:8443 with redirectCache false and destCache true] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + + [same-origin document opening popup redirect from https://www1.web-platform.test:8443 to https://not-web-platform.test:8443 with redirectCache true and destCache true] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + + [same-origin document opening popup redirect from https://not-web-platform.test:8443 to https://web-platform.test:8443 with redirectCache true and destCache false] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + + +[popup-redirect-cache.https.html?8-last] + prefs: [network.cookie.cookieBehavior:4] + expected: + if (os == "linux") and fission and debug: [OK, ERROR, TIMEOUT] + if (os == "linux") and fission and not debug: [OK, TIMEOUT] + if (os == "win") and (processor == "x86_64") and not swgl: [OK, ERROR, TIMEOUT] + if (os == "android") and debug: [OK, ERROR, TIMEOUT, CRASH] + if (os == "android") and not debug: [OK, ERROR, TIMEOUT, CRASH] + +[popup-redirect-cache.https.html?4-5] + prefs: [network.cookie.cookieBehavior:4] + expected: + if (os == "linux") and fission and not debug: [OK, TIMEOUT] + if (os == "linux") and fission and debug: [OK, ERROR, TIMEOUT] + if (os == "android") and debug: [OK, ERROR, TIMEOUT, CRASH] + if (os == "android") and not debug: [OK, TIMEOUT, ERROR, CRASH] + [same-origin document opening popup redirect from https://not-web-platform.test:8443 to https://web-platform.test:8443 with redirectCache true and destCache true] + expected: + if (os == "linux") and fission: [PASS, TIMEOUT] + + [same-origin document opening popup redirect from https://not-web-platform.test:8443 to https://web-platform.test:8443 with redirectCache false and destCache true] + expected: + if (os == "linux") and fission: [PASS, TIMEOUT] + + +[popup-redirect-cache.https.html?2-3] + prefs: [network.cookie.cookieBehavior:4] + expected: + if debug and (os == "win") and (processor == "x86_64") and swgl: OK + if debug and (os == "win") and (processor == "x86_64") and not swgl: [OK, ERROR, TIMEOUT] + if not debug and (os == "linux") and not fission: OK + if debug and (os == "win") and (processor == "x86"): OK + if debug and (os == "linux") and not fission: OK + if debug and (os == "linux") and fission: [OK, ERROR, TIMEOUT] + if debug and (os == "android") and not swgl: [TIMEOUT, OK, ERROR] + if debug and (os == "android") and swgl: [OK, ERROR, TIMEOUT] + if debug and (os == "mac"): OK + [OK, TIMEOUT] + [same-origin document opening popup redirect from https://web-platform.test:8443 to https://not-web-platform.test:8443 with redirectCache true and destCache true] + expected: + if (os == "linux") and fission: [PASS, TIMEOUT] + + [same-origin document opening popup redirect from https://not-web-platform.test:8443 to https://web-platform.test:8443 with redirectCache true and destCache false] + expected: + if (os == "linux") and fission: [PASS, TIMEOUT] + + +[popup-redirect-cache.https.html?6-7] + prefs: [network.cookie.cookieBehavior:4] + expected: + if (os == "win") and (processor == "x86_64") and not swgl: [OK, ERROR, TIMEOUT] + if (os == "linux") and swgl and not fission: [OK, ERROR, CRASH] + if (os == "android") and debug and not swgl: [OK, TIMEOUT, ERROR, CRASH] + if (os == "android") and debug and swgl: [OK, ERROR, TIMEOUT, CRASH] + if (os == "android") and not debug: [OK, ERROR, TIMEOUT, CRASH] + +[popup-redirect-cache.https.html?0-1] + prefs: [network.cookie.cookieBehavior:4] + expected: + if (os == "linux") and fission and debug: [OK, ERROR, TIMEOUT] + if (os == "linux") and fission and not debug: [OK, TIMEOUT] + if (os == "android") and debug and swgl: [TIMEOUT, OK, ERROR, CRASH] + if (os == "android") and debug and not swgl: [OK, ERROR, TIMEOUT, CRASH] + if (os == "win") and (processor == "x86_64") and not swgl: [OK, ERROR, TIMEOUT] + if (os == "android") and not debug: [OK, ERROR, TIMEOUT, CRASH] + [same-origin document opening popup redirect from https://web-platform.test:8443 to https://not-web-platform.test:8443 with redirectCache true and destCache false] + expected: + if (os == "linux") and fission: [PASS, TIMEOUT] + + [same-origin document opening popup redirect from https://web-platform.test:8443 to https://not-web-platform.test:8443 with redirectCache false and destCache true] + expected: + if (os == "linux") and fission: [PASS, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/popup-redirect-same-origin-allow-popups.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-redirect-same-origin-allow-popups.https.html.ini new file mode 100644 index 0000000000..db19be30f6 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-redirect-same-origin-allow-popups.https.html.ini @@ -0,0 +1,10 @@ +[popup-redirect-same-origin-allow-popups.https.html] + expected: + if (os == "android") and not fission and debug and not swgl: [OK, ERROR, TIMEOUT] + if (os == "android") and fission: [OK, TIMEOUT, ERROR] + if (os == "linux") and not fission: [OK, ERROR, CRASH] + [Cross origin popup redirects to same-origin with same-origin-allow-popups] + expected: FAIL + + [Same origin popup redirects to same-origin with same-origin-allow-popups] + expected: FAIL diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-cross-origin.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-cross-origin.https.html.ini new file mode 100644 index 0000000000..20149eca6d --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-cross-origin.https.html.ini @@ -0,0 +1,8 @@ +[popup-same-origin-allow-popups-with-cross-origin.https.html] + prefs: [network.cookie.cookieBehavior:4] + expected: + if debug and (os == "linux") and swgl: [OK, ERROR, TIMEOUT, CRASH] + if debug and (os == "android") and not swgl: [OK, TIMEOUT, ERROR, CRASH] + if debug and (os == "android") and swgl: [OK, ERROR, TIMEOUT, CRASH] + if debug and (os == "win") and (processor == "x86_64"): [OK, ERROR, TIMEOUT, CRASH] + [OK, TIMEOUT, CRASH] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-same-origin.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-same-origin.https.html.ini new file mode 100644 index 0000000000..d0e33fe197 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-same-origin.https.html.ini @@ -0,0 +1,5 @@ +[popup-same-origin-allow-popups-with-same-origin.https.html] + expected: + if (os == "android") and debug and not swgl: [OK, TIMEOUT, ERROR] + if (os == "android") and debug and swgl: [OK, ERROR, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-same-site.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-same-site.https.html.ini new file mode 100644 index 0000000000..5c48835ccb --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-same-site.https.html.ini @@ -0,0 +1,5 @@ +[popup-same-origin-allow-popups-with-same-site.https.html] + expected: + if (os == "android") and debug and swgl: [OK, ERROR, TIMEOUT, CRASH] + if (os == "android") and debug and not swgl: [OK, TIMEOUT, ERROR, CRASH] + if (os == "android") and not debug: [OK, TIMEOUT, CRASH] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/popup-same-origin-non-initial-about-blank.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-same-origin-non-initial-about-blank.https.html.ini new file mode 100644 index 0000000000..b27f620ea6 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-same-origin-non-initial-about-blank.https.html.ini @@ -0,0 +1,5 @@ +[popup-same-origin-non-initial-about-blank.https.html] + expected: + if (os == "android") and debug and fission: [OK, ERROR, TIMEOUT] + if (os == "android") and debug and not fission: [OK, ERROR, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/popup-same-origin-with-cross-origin.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-same-origin-with-cross-origin.https.html.ini new file mode 100644 index 0000000000..d971b9b0e6 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-same-origin-with-cross-origin.https.html.ini @@ -0,0 +1,8 @@ +[popup-same-origin-with-cross-origin.https.html] + prefs: [network.cookie.cookieBehavior:4] + expected: + if (os == "linux") and fission and debug: [OK, ERROR, TIMEOUT] + if (os == "linux") and fission and not debug: [OK, TIMEOUT] + if (os == "win") and (processor == "x86_64") and not swgl: [OK, ERROR, TIMEOUT] + if (os == "android") and not swgl: [OK, ERROR, TIMEOUT, CRASH] + if (os == "android") and swgl: [OK, ERROR, TIMEOUT, CRASH] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/popup-same-origin-with-same-origin.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-same-origin-with-same-origin.https.html.ini new file mode 100644 index 0000000000..5733982bf0 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-same-origin-with-same-origin.https.html.ini @@ -0,0 +1,5 @@ +[popup-same-origin-with-same-origin.https.html] + expected: + if (os == "android") and debug and swgl: [OK, ERROR, TIMEOUT] + if (os == "android") and debug and not swgl: [OK, ERROR, TIMEOUT, CRASH] + if (os == "android") and not debug: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/popup-same-origin-with-same-site.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-same-origin-with-same-site.https.html.ini new file mode 100644 index 0000000000..bf39ff037a --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-same-origin-with-same-site.https.html.ini @@ -0,0 +1,6 @@ +[popup-same-origin-with-same-site.https.html] + expected: + if (os == "android") and debug and not swgl and fission: [OK, ERROR, TIMEOUT] + if (os == "android") and debug and not swgl and not fission: [OK, ERROR, TIMEOUT] + if (os == "android") and debug and swgl: [OK, TIMEOUT, ERROR, CRASH] + if (os == "android") and not debug: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/popup-unsafe-none-with-cross-origin.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-unsafe-none-with-cross-origin.https.html.ini new file mode 100644 index 0000000000..ac051e2640 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-unsafe-none-with-cross-origin.https.html.ini @@ -0,0 +1,7 @@ +[popup-unsafe-none-with-cross-origin.https.html] + prefs: [network.cookie.cookieBehavior:4] + expected: + if (os == "android") and not fission and debug and not swgl: [OK, ERROR, TIMEOUT] + if (os == "win") and debug and (processor == "x86_64") and not swgl: [OK, ERROR, TIMEOUT] + if (os == "android") and fission: [OK, TIMEOUT, ERROR] + if os == "mac": [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/popup-unsafe-none-with-same-origin.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-unsafe-none-with-same-origin.https.html.ini new file mode 100644 index 0000000000..821c393262 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-unsafe-none-with-same-origin.https.html.ini @@ -0,0 +1,4 @@ +[popup-unsafe-none-with-same-origin.https.html] + expected: + if (os == "android") and not fission and debug and not swgl: [OK, ERROR, TIMEOUT] + if (os == "android") and fission: [OK, TIMEOUT, ERROR] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/popup-unsafe-none-with-same-site.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-unsafe-none-with-same-site.https.html.ini new file mode 100644 index 0000000000..7ff3e44ed0 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-unsafe-none-with-same-site.https.html.ini @@ -0,0 +1,4 @@ +[popup-unsafe-none-with-same-site.https.html] + expected: + if (os == "android") and not fission and debug and not swgl: [OK, ERROR] + if (os == "android") and fission: [OK, TIMEOUT, ERROR] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/popup-unspecified-with-cross-origin.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-unspecified-with-cross-origin.https.html.ini new file mode 100644 index 0000000000..493547f1a1 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-unspecified-with-cross-origin.https.html.ini @@ -0,0 +1,7 @@ +[popup-unspecified-with-cross-origin.https.html] + prefs: [network.cookie.cookieBehavior:4] + expected: + if (os == "win") and debug and (processor == "x86_64") and not swgl: [OK, ERROR, TIMEOUT] + if (os == "android") and not fission and debug and not swgl: [OK, ERROR] + if (os == "android") and fission: [OK, TIMEOUT, ERROR] + if os == "mac": [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/popup-unspecified-with-same-origin.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-unspecified-with-same-origin.https.html.ini new file mode 100644 index 0000000000..3c6732ec67 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-unspecified-with-same-origin.https.html.ini @@ -0,0 +1,5 @@ +[popup-unspecified-with-same-origin.https.html] + expected: + if (os == "android") and not fission and debug and not swgl: [OK, ERROR] + if (os == "mac") and not debug: [OK, TIMEOUT] + if (os == "android") and fission: [OK, TIMEOUT, ERROR] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/popup-unspecified-with-same-site.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-unspecified-with-same-site.https.html.ini new file mode 100644 index 0000000000..f1064b64c0 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-unspecified-with-same-site.https.html.ini @@ -0,0 +1,5 @@ +[popup-unspecified-with-same-site.https.html] + expected: + if (os == "android") and debug and not fission and not swgl: [OK, ERROR] + if (os == "android") and debug and fission: [OK, ERROR, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/popup-with-structured-header.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-with-structured-header.https.html.ini new file mode 100644 index 0000000000..52eb182f71 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/popup-with-structured-header.https.html.ini @@ -0,0 +1,5 @@ +[popup-with-structured-header.https.html] + expected: + if (os == "android") and debug and not swgl: [OK, ERROR, TIMEOUT] + if (os == "android") and debug and swgl: [OK, ERROR, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT, ERROR] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/access-reporting/__dir__.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/access-reporting/__dir__.ini new file mode 100644 index 0000000000..b9e7ddecc7 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/access-reporting/__dir__.ini @@ -0,0 +1,2 @@ +disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1648450 + diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/access-reporting/property-indexed-getter.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/access-reporting/property-indexed-getter.https.html.ini new file mode 100644 index 0000000000..41fe7e7045 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/access-reporting/property-indexed-getter.https.html.ini @@ -0,0 +1,7 @@ +[property-indexed-getter.https.html] + [cross-origin > w => w[0\]] + expected: FAIL + + [same-site > w => w[0\]] + expected: FAIL + diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/access-reporting/property-named-getter.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/access-reporting/property-named-getter.https.html.ini new file mode 100644 index 0000000000..ba04e6ed91 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/access-reporting/property-named-getter.https.html.ini @@ -0,0 +1,10 @@ +[property-named-getter.https.html] + [same-site > w => w["divID"\]] + expected: FAIL + + [same-site > w => w["iframeName"\]] + expected: FAIL + + [cross-origin > w => w["iframeName"\]] + expected: FAIL + diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/access-reporting/reporting-observer.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/access-reporting/reporting-observer.html.ini new file mode 100644 index 0000000000..6242795556 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/access-reporting/reporting-observer.html.ini @@ -0,0 +1,16 @@ +[reporting-observer.html] + expected: + if not debug: TIMEOUT + [Access from same-origin iframe] + expected: FAIL + + [Openee COOP] + expected: FAIL + + [Opener COOP] + expected: FAIL + + [Access from cross-site iframe] + expected: + if not debug: TIMEOUT + diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/document-reporting/report-only-four-reports.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/document-reporting/report-only-four-reports.https.html.ini new file mode 100644 index 0000000000..1d5f637af3 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/document-reporting/report-only-four-reports.https.html.ini @@ -0,0 +1,3 @@ +[report-only-four-reports.https.html] + [coop document reporting test A test with both COOP and COOP report only setup using Reporting-Endpoints header to CROSS_ORIGIN with same-origin-allow-popups; report-to="coop-popup-report-endpoint", require-corp, same-origin; report-to="coop-popup-report-only-endpoint", require-corp] + expected: FAIL diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/document-reporting/report-to-both_coop-ro.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/document-reporting/report-to-both_coop-ro.https.html.ini new file mode 100644 index 0000000000..1d115d46e6 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/document-reporting/report-to-both_coop-ro.https.html.ini @@ -0,0 +1,8 @@ +[report-to-both_coop-ro.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Access from opener] + expected: FAIL + + [Access from openee] + expected: FAIL diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/document-reporting/reporting-redirect-with-same-origin-allow-popups.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/document-reporting/reporting-redirect-with-same-origin-allow-popups.https.html.ini new file mode 100644 index 0000000000..1e4670f153 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/document-reporting/reporting-redirect-with-same-origin-allow-popups.https.html.ini @@ -0,0 +1,10 @@ +[reporting-redirect-with-same-origin-allow-popups.https.html] + expected: + if (os == "android") and not fission and debug: OK + if os == "mac": OK + [OK, TIMEOUT] + [Same origin openee redirected to same-origin with same-origin-allow-popups] + expected: FAIL + + [Cross origin openee redirected to same-origin with same-origin-allow-popups] + expected: FAIL diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/document-reporting/reporting-redirect-with-unsafe-none.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/document-reporting/reporting-redirect-with-unsafe-none.https.html.ini new file mode 100644 index 0000000000..0808a6931a --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/document-reporting/reporting-redirect-with-unsafe-none.https.html.ini @@ -0,0 +1,11 @@ +[reporting-redirect-with-unsafe-none.https.html] + expected: + if (os == "win") and debug and swgl: OK + if (os == "android") and not fission: OK + if (os == "win") and not debug: OK + [OK, TIMEOUT] + [Same origin openee redirected to same-origin with unsafe-none] + expected: FAIL + + [Cross origin openee redirected to same-origin with unsafe-none] + expected: FAIL diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/__dir__.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/__dir__.ini new file mode 100644 index 0000000000..807c63b394 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/__dir__.ini @@ -0,0 +1,2 @@ +disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1652926 + diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-four-reports.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-four-reports.https.html.ini new file mode 100644 index 0000000000..96535f249d --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-four-reports.https.html.ini @@ -0,0 +1,8 @@ +[report-only-four-reports.https.html] + expected: ERROR + [coop reporting test A test with both COOP and COOP report only setup to CROSS_ORIGIN with same-origin-allow-popups; report-to="coop-popup-report-endpoint", require-corp, same-origin; report-to="coop-popup-report-only-endpoint", require-corp] + expected: TIMEOUT + + [verify remaining reports] + expected: NOTRUN + diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-from-unsafe-none.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-from-unsafe-none.https.html.ini new file mode 100644 index 0000000000..32ef0ce961 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-from-unsafe-none.https.html.ini @@ -0,0 +1,19 @@ +[report-only-from-unsafe-none.https.html] + expected: + if (os == "win") and ccov: OK + if not debug: TIMEOUT + disabled: + if (os == "win") and (processor == "x86_64"): random test + [coop reporting test Report only tests for an opener without any COOP/COOP report only set to CROSS_ORIGIN with , , same-origin; report-to="coop-popup-report-only-endpoint", ] + expected: + if debug: FAIL + TIMEOUT + + [coop reporting test Report only tests for an opener without any COOP/COOP report only set to SAME_ORIGIN with , , same-origin; report-to="coop-popup-report-only-endpoint", ] + expected: FAIL + + [verify remaining reports] + expected: + if (os == "win") and ccov: PASS + if not debug: [NOTRUN, PASS] + diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin-report-to.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin-report-to.https.html.ini new file mode 100644 index 0000000000..6e8e25d229 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin-report-to.https.html.ini @@ -0,0 +1,30 @@ +[report-only-same-origin-report-to.https.html] + expected: + if (os == "win") and ccov: OK + if not debug and (os == "linux"): [TIMEOUT, OK] + if not debug and (os == "mac"): TIMEOUT + if not debug and (os == "win"): [TIMEOUT, OK] + [coop reporting test reporting same origin with report-to to CROSS_ORIGIN with , , same-origin; report-to="coop-popup-report-only-endpoint", ] + expected: + if not debug and (os == "linux"): [TIMEOUT, FAIL] + if not debug and (os == "win"): [FAIL, TIMEOUT] + if not debug and (os == "mac"): TIMEOUT + FAIL + + [coop reporting test reporting same origin with report-to to SAME_ORIGIN with , , same-origin; report-to="coop-popup-report-only-endpoint", ] + expected: + if (os == "win") and ccov: PASS + if not debug and (os == "win"): [NOTRUN, PASS, TIMEOUT] + if not debug and (os == "linux"): [NOTRUN, PASS, TIMEOUT] + if not debug and (os == "mac"): NOTRUN + + [verify remaining reports] + expected: + if (os == "win") and ccov: PASS + if not debug and (os == "linux"): [NOTRUN, PASS] + if not debug and (os == "win"): [NOTRUN, PASS] + if not debug and (os == "mac"): NOTRUN + + [coop reporting test reporting same origin with report-to to CROSS_ORIGIN with , , , ] + expected: FAIL + diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin-with-coep-report-only.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin-with-coep-report-only.https.html.ini new file mode 100644 index 0000000000..680bef7b12 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin-with-coep-report-only.https.html.ini @@ -0,0 +1,10 @@ +[report-only-same-origin-with-coep-report-only.https.html] + expected: + if (os == "linux"): ["CRASH", "ERROR"] + ERROR + [coop reporting test reporting same origin with report-to to SAME_ORIGIN with , require-corp, same-origin; report-to="coop-popup-report-only-endpoint", ] + expected: TIMEOUT + + [verify remaining reports] + expected: NOTRUN + diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin-with-coep.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin-with-coep.https.html.ini new file mode 100644 index 0000000000..0a8e3d0a86 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin-with-coep.https.html.ini @@ -0,0 +1,10 @@ +[report-only-same-origin-with-coep.https.html] + expected: + if (os == "linux"): ["CRASH", "ERROR"] + ERROR + [coop reporting test reporting same origin with report-to to SAME_ORIGIN with , require-corp, same-origin; report-to="coop-popup-report-only-endpoint", ] + expected: TIMEOUT + + [verify remaining reports] + expected: NOTRUN + diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin.https.html.ini new file mode 100644 index 0000000000..e1d8c83b82 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/report-only-same-origin.https.html.ini @@ -0,0 +1,21 @@ +[report-only-same-origin.https.html] + expected: + if not debug and (os == "win") and not fission: [OK, TIMEOUT] + if not debug and (os == "linux"): [TIMEOUT, OK] + if not debug and (os == "mac"): TIMEOUT + [coop reporting test reporting same origin with report-to to SAME_ORIGIN with , , same-origin; report-to="coop-popup-report-only-endpoint", require-corp] + expected: + if not debug and (os == "linux"): [TIMEOUT, FAIL] + if not debug and (os == "win"): [FAIL, TIMEOUT] + if not debug and (os == "mac"): TIMEOUT + FAIL + + [coop reporting test reporting same origin with report-to to SAME_ORIGIN with , require-corp, same-origin; report-to="coop-popup-report-only-endpoint", ] + expected: FAIL + + [verify remaining reports] + expected: + if not debug and (os == "win") and not fission: [PASS, TIMEOUT, NOTRUN] + if not debug and (os == "linux"): [NOTRUN, PASS] + if not debug and (os == "mac"): NOTRUN + diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-coop-navigated-opener.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-coop-navigated-opener.https.html.ini new file mode 100644 index 0000000000..694f104637 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-coop-navigated-opener.https.html.ini @@ -0,0 +1,5 @@ +[reporting-coop-navigated-opener.https.html] + expected: TIMEOUT + [navigation-report-from-opener-navigation] + expected: TIMEOUT + diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-coop-navigated-popup.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-coop-navigated-popup.https.html.ini new file mode 100644 index 0000000000..392c2388a1 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-coop-navigated-popup.https.html.ini @@ -0,0 +1,8 @@ +[reporting-coop-navigated-popup.https.html] + expected: ERROR + [Open a popup to a document without COOP, then navigate it to a document with] + expected: TIMEOUT + + [verify remaining reports] + expected: NOTRUN + diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin-allow-popups-report-to.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin-allow-popups-report-to.https.html.ini new file mode 100644 index 0000000000..98246f443b --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin-allow-popups-report-to.https.html.ini @@ -0,0 +1,27 @@ +[reporting-popup-same-origin-allow-popups-report-to.https.html] + disabled: + if (os == "win") and (processor == "x86_64"): random test + expected: + if (os == "win") and ccov: OK + if not debug: TIMEOUT + [coop reporting test reporting same origin with report-to to CROSS_ORIGIN with same-origin, require-corp, , ] + expected: + if (os == "win") and ccov: FAIL + if debug: FAIL + if not debug and (os == "win"): ["NOTRUN", "TIMEOUT"] + NOTRUN + + [coop reporting test reporting same origin with report-to to CROSS_ORIGIN with same-origin-allow-popups; report-to="coop-popup-report-endpoint", require-corp, , ] + expected: + if debug: FAIL + if not debug and (os == "win"): ["TIMEOUT", "FAIL"] + TIMEOUT + + [verify remaining reports] + expected: + if ccov: [NOTRUN, PASS] + if not debug: NOTRUN + + [coop reporting test reporting same origin with report-to to SAME_ORIGIN with same-origin; report-to="coop-popup-report-endpoint", , , ] + expected: FAIL + diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin-coep-report-to.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin-coep-report-to.https.html.ini new file mode 100644 index 0000000000..24080ac339 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin-coep-report-to.https.html.ini @@ -0,0 +1,30 @@ +[reporting-popup-same-origin-coep-report-to.https.html] + expected: + if not debug and (os == "linux"): TIMEOUT + if not debug and (os == "win"): [TIMEOUT, OK] + if not debug and (os == "mac"): TIMEOUT + disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1652926 + [coop reporting test reporting same origin with report-to to CROSS_ORIGIN with , , same-origin; report-to="coop-popup-report-only-endpoint", require-corp] + expected: + if not debug: NOTRUN + FAIL + + [coop reporting test reporting same origin with report-to to SAME_ORIGIN with , , same-origin; report-to="coop-popup-report-only-endpoint", require-corp] + expected: + if not debug and (os == "win"): [TIMEOUT, NOTRUN] + if not debug and (os == "linux"): [NOTRUN, TIMEOUT] + FAIL + + [coop reporting test reporting same origin with report-to to CROSS_ORIGIN with same-origin; report-to="coop-popup-report-endpoint", require-corp, , ] + expected: + if not debug and (os == "linux"): [TIMEOUT, FAIL] + if not debug and (os == "win"): [FAIL, TIMEOUT] + if not debug and (os == "mac"): TIMEOUT + FAIL + + [verify remaining reports] + expected: + if not debug and (os == "linux"): [NOTRUN, TIMEOUT] + if not debug and (os == "win"): [NOTRUN, PASS, TIMEOUT] + if not debug and (os == "mac"): NOTRUN + diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin-report-to.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin-report-to.https.html.ini new file mode 100644 index 0000000000..5a1e895b72 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin-report-to.https.html.ini @@ -0,0 +1,43 @@ +[reporting-popup-same-origin-report-to.https.html] + disabled: + if os == "win": random test + if (os == "linux") and fission: https://bugzilla.mozilla.org/show_bug.cgi?id=1661876 + expected: + if debug and (os == "linux"): [TIMEOUT, OK] + if debug and (os == "mac"): [TIMEOUT, OK] + TIMEOUT + [coop reporting test reporting same origin with report-to to SAME_ORIGIN with unsafe-none, , , ] + expected: + if debug and (os == "linux"): [TIMEOUT, FAIL] + if debug and (os == "mac"): TIMEOUT + NOTRUN + + [coop reporting test reporting same origin with report-to to SAME_ORIGIN with unsafe-none; report-to="coop-popup-report-endpoint", , , ] + expected: + if (os == "linux") and not debug: [TIMEOUT, FAIL] + if (os == "mac") and not debug: TIMEOUT + if (os == "mac") and debug: FAIL + [FAIL, TIMEOUT] + + [verify remaining reports] + expected: + if (os == "linux") and debug: [PASS, NOTRUN] + if not debug: NOTRUN + [NOTRUN, PASS] + + [coop reporting test reporting same origin with report-to to SAME_ORIGIN with same-origin; report-to="coop-popup-report-endpoint", require-corp, , ] + expected: + if (os == "linux") and not debug: [NOTRUN, TIMEOUT] + if (os == "mac") and debug: FAIL + if (os == "mac") and not debug: NOTRUN + [FAIL, TIMEOUT, NOTRUN] + + [coop reporting test reporting same origin with report-to to CROSS_ORIGIN with unsafe-none; report-to="coop-popup-report-endpoint", , , ] + expected: + if debug: FAIL + if not debug: NOTRUN + [FAIL, NOTRUN] + + [coop reporting test reporting same origin with report-to to CROSS_ORIGIN with same-origin; report-to="coop-popup-report-endpoint", , , ] + expected: [FAIL, PASS] + diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin.https.html.ini new file mode 100644 index 0000000000..3db798a20e --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-same-origin.https.html.ini @@ -0,0 +1,30 @@ +[reporting-popup-same-origin.https.html] + expected: + if not debug: TIMEOUT + disabled: + if (os == "win") and (processor == "x86_64"): random test + [coop reporting test reporting same origin to SAME_ORIGIN with unsafe-none; report-to="coop-popup-report-endpoint", , , ] + expected: + if (os == "linux") and ccov: [TIMEOUT, FAIL] + if debug: FAIL + if not debug and (os == "win"): ["TIMEOUT", "FAIL"] + TIMEOUT + + [coop reporting test reporting same origin to CROSS_ORIGIN with unsafe-none; report-to="coop-popup-report-endpoint", , , ] + expected: + if debug: FAIL + if not debug and (os == "win"): ["NOTRUN", "TIMEOUT"] + NOTRUN + + [verify remaining reports] + expected: + if not debug: NOTRUN + + [coop reporting test reporting same origin to CROSS_ORIGIN with same-origin; report-to="coop-popup-report-endpoint", , , ] + expected: FAIL + + [coop reporting test reporting same origin to SAME_ORIGIN with , , same-origin; report-to="coop-popup-report-only-endpoint", ] + expected: + if (os == "win") and ccov: TIMEOUT + if not debug: NOTRUN + diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-unsafe-none-report-to.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-unsafe-none-report-to.https.html.ini new file mode 100644 index 0000000000..49d62a1875 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-popup-unsafe-none-report-to.https.html.ini @@ -0,0 +1,26 @@ +[reporting-popup-unsafe-none-report-to.https.html] + expected: + if (os == "win") and ccov: OK + if not debug: TIMEOUT + disabled: + if (os == "win") and (processor == "x86_64"): random test + [coop reporting test reporting same origin with report-to to CROSS_ORIGIN with same-origin; report-to="coop-popup-report-endpoint", , , ] + expected: + if ccov: FAIL + if not debug: [NOTRUN, FAIL] + FAIL + + [coop reporting test reporting same origin with report-to to SAME_ORIGIN with same-origin, , , ] + expected: + if debug: FAIL + if not debug and (os == "win"): ["TIMEOUT", "FAIL"] + TIMEOUT + + [verify remaining reports] + expected: + if (os == "win") and ccov: PASS + if not debug: NOTRUN + + [coop reporting test reporting same origin with report-to to SAME_ORIGIN with same-origin; report-to="coop-popup-report-endpoint", , , ] + expected: FAIL + diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-redirect-with-same-origin-allow-popups.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-redirect-with-same-origin-allow-popups.https.html.ini new file mode 100644 index 0000000000..e2e378dcfb --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/reporting/navigation-reporting/reporting-redirect-with-same-origin-allow-popups.https.html.ini @@ -0,0 +1,10 @@ +[reporting-redirect-with-same-origin-allow-popups.https.html] + expected: + if (os == "linux"): ["CRASH", "ERROR"] + ERROR + [Same origin openee redirected to same-origin with same-origin-allow-popups] + expected: TIMEOUT + + [Cross origin openee redirected to same-origin with same-origin-allow-popups] + expected: NOTRUN + diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/resource-popup.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/resource-popup.https.html.ini new file mode 100644 index 0000000000..826f60de63 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/resource-popup.https.html.ini @@ -0,0 +1,35 @@ +[resource-popup.https.html] + expected: + if (os == "linux") and not swgl and debug and not fission: [TIMEOUT, OK] + if (os == "mac") and debug: [TIMEOUT, OK] + if (os == "linux") and swgl: [OK, ERROR, TIMEOUT] + if (os == "win") and (processor == "x86_64"): [OK, ERROR, TIMEOUT] + if os == "android": [OK, ERROR, TIMEOUT] + [OK, TIMEOUT] + [/common/dummy.xml - parent COOP: ""; child COOP: "same-origin"] + expected: + if (os == "linux") and debug and fission: [FAIL, PASS, TIMEOUT] + if (os == "android") and debug and not swgl: [FAIL, PASS, TIMEOUT] + if (os == "android") and debug and swgl: [FAIL, PASS, TIMEOUT] + if (os == "android") and not debug: [FAIL, PASS, TIMEOUT] + [PASS, FAIL, TIMEOUT] + + [/images/red.png - parent COOP: ""; child COOP: "same-origin"] + expected: + if os == "android": [FAIL, PASS, TIMEOUT] + [PASS, FAIL, TIMEOUT] + + [/media/2x2-green.mp4 - parent COOP: ""; child COOP: "same-origin"] + expected: + if debug and (os == "linux") and not fission and not swgl: [TIMEOUT, PASS] + if debug and (os == "mac"): [TIMEOUT, PASS] + [PASS, TIMEOUT] + + [/common/text-plain.txt - parent COOP: ""; child COOP: "same-origin"] + expected: + if (os == "android") and debug: [FAIL, PASS, TIMEOUT] + [PASS, FAIL, TIMEOUT] + + [/common/text-plain.txt - parent COOP: "same-origin"; child COOP: "same-origin"] + expected: + if (os == "linux") and not fission: [PASS, FAIL] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/iframe-popup-to-so.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/iframe-popup-to-so.https.html.ini new file mode 100644 index 0000000000..1f1a8a18ab --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/iframe-popup-to-so.https.html.ini @@ -0,0 +1,24 @@ +[iframe-popup-to-so.https.html?3-4] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-to-so.https.html?5-6] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-to-so.https.html?9-last] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-to-so.https.html?1-2] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-to-so.https.html?7-8] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/iframe-popup-to-soap.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/iframe-popup-to-soap.https.html.ini new file mode 100644 index 0000000000..3304ab4985 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/iframe-popup-to-soap.https.html.ini @@ -0,0 +1,23 @@ +[iframe-popup-to-soap.https.html?5-6] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-to-soap.https.html?3-4] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-to-soap.https.html?7-8] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-to-soap.https.html?9-last] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + +[iframe-popup-to-soap.https.html?1-2] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/iframe-popup-to-un.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/iframe-popup-to-un.https.html.ini new file mode 100644 index 0000000000..3709d05f8d --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/iframe-popup-to-un.https.html.ini @@ -0,0 +1,47 @@ +[iframe-popup-to-un.https.html?1-2] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + [COOP: restrict-properties to popup COOP: unsafe-none via an iframe, with same origin iframe, same origin popup with window_open] + expected: FAIL + + [COOP: restrict-properties to popup COOP: unsafe-none via an iframe, with same site iframe, same origin popup with window_open] + expected: FAIL + + +[iframe-popup-to-un.https.html?5-6] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [COOP: restrict-properties to popup COOP: unsafe-none via an iframe, with same site iframe, same site popup with window_open] + expected: FAIL + + [COOP: restrict-properties to popup COOP: unsafe-none via an iframe, with cross origin iframe, same site popup with window_open] + expected: FAIL + + +[iframe-popup-to-un.https.html?7-8] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [COOP: restrict-properties to popup COOP: unsafe-none via an iframe, with same origin iframe, cross origin popup with window_open] + expected: FAIL + + [COOP: restrict-properties to popup COOP: unsafe-none via an iframe, with same site iframe, cross origin popup with window_open] + expected: FAIL + + +[iframe-popup-to-un.https.html?9-last] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [COOP: restrict-properties to popup COOP: unsafe-none via an iframe, with cross origin iframe, cross origin popup with window_open] + expected: FAIL + + +[iframe-popup-to-un.https.html?3-4] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + [COOP: restrict-properties to popup COOP: unsafe-none via an iframe, with cross origin iframe, same origin popup with window_open] + expected: FAIL + + [COOP: restrict-properties to popup COOP: unsafe-none via an iframe, with same origin iframe, same site popup with window_open] + expected: FAIL diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/iframe-popup.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/iframe-popup.https.html.ini new file mode 100644 index 0000000000..d6238b41d8 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/iframe-popup.https.html.ini @@ -0,0 +1,47 @@ +[iframe-popup.https.html?7-8] + expected: + if (os == "android") and not swgl and debug and fission: [OK, TIMEOUT] + if (os == "android") and not swgl and not debug: [OK, TIMEOUT] + [COOP: restrict-properties to popup COOP: restrict-properties via an iframe, with same origin iframe, cross origin popup with window_open] + expected: FAIL + + [COOP: restrict-properties to popup COOP: restrict-properties via an iframe, with same site iframe, cross origin popup with window_open] + expected: FAIL + + +[iframe-popup.https.html?9-last] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [COOP: restrict-properties to popup COOP: restrict-properties via an iframe, with cross origin iframe, cross origin popup with window_open] + expected: FAIL + + +[iframe-popup.https.html?5-6] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [COOP: restrict-properties to popup COOP: restrict-properties via an iframe, with same site iframe, same site popup with window_open] + expected: FAIL + + [COOP: restrict-properties to popup COOP: restrict-properties via an iframe, with cross origin iframe, same site popup with window_open] + expected: FAIL + + +[iframe-popup.https.html?1-2] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [COOP: restrict-properties to popup COOP: restrict-properties via an iframe, with same origin iframe, same origin popup with window_open] + expected: FAIL + + [COOP: restrict-properties to popup COOP: restrict-properties via an iframe, with same site iframe, same origin popup with window_open] + expected: FAIL + + +[iframe-popup.https.html?3-4] + expected: + if (os == "android") and not swgl and debug and fission: [OK, TIMEOUT] + if (os == "android") and not swgl and not debug: [OK, TIMEOUT] + [COOP: restrict-properties to popup COOP: restrict-properties via an iframe, with cross origin iframe, same origin popup with window_open] + expected: FAIL + + [COOP: restrict-properties to popup COOP: restrict-properties via an iframe, with same origin iframe, same site popup with window_open] + expected: FAIL diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/named_targeting.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/named_targeting.https.html.ini new file mode 100644 index 0000000000..3ed53535d6 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/named_targeting.https.html.ini @@ -0,0 +1,5 @@ +[named_targeting.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Verify that named targeting does not work across isolation boundaries.] + expected: FAIL diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/popup-so.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/popup-so.https.html.ini new file mode 100644 index 0000000000..8ad7bce101 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/popup-so.https.html.ini @@ -0,0 +1,4 @@ +[popup-so.https.html] + expected: + if (os == "android") and not fission: [OK, TIMEOUT] + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/popup-soap.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/popup-soap.https.html.ini new file mode 100644 index 0000000000..a6edb92973 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/popup-soap.https.html.ini @@ -0,0 +1,12 @@ +[popup-soap.https.html] + expected: + if (os == "android") and not swgl and not debug: [OK, TIMEOUT] + if (os == "android") and not swgl and debug: [OK, TIMEOUT] + [SAME_ORIGIN popup with coop restrict-properties] + expected: FAIL + + [SAME_SITE popup with coop restrict-properties] + expected: FAIL + + [CROSS_ORIGIN popup with coop restrict-properties] + expected: FAIL diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/popup-u.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/popup-u.https.html.ini new file mode 100644 index 0000000000..73aee73650 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/popup-u.https.html.ini @@ -0,0 +1,11 @@ +[popup-u.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [SAME_ORIGIN popup with coop restrict-properties] + expected: FAIL + + [SAME_SITE popup with coop restrict-properties] + expected: FAIL + + [CROSS_ORIGIN popup with coop restrict-properties] + expected: FAIL diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/popup-un.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/popup-un.https.html.ini new file mode 100644 index 0000000000..0a16c40a89 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/popup-un.https.html.ini @@ -0,0 +1,12 @@ +[popup-un.https.html] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + [SAME_ORIGIN popup with coop restrict-properties] + expected: FAIL + + [SAME_SITE popup with coop restrict-properties] + expected: FAIL + + [CROSS_ORIGIN popup with coop restrict-properties] + expected: FAIL diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/popup-with-cross-origin.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/popup-with-cross-origin.https.html.ini new file mode 100644 index 0000000000..7c4dd6c55b --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/popup-with-cross-origin.https.html.ini @@ -0,0 +1,12 @@ +[popup-with-cross-origin.https.html] + expected: + if (os == "android") and debug and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + [Cross-origin popup with empty coop] + expected: FAIL + + [Cross-origin popup with coop unsafe-none] + expected: FAIL + + [Cross-origin popup with coop restrict-properties] + expected: FAIL diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/popup-with-same-origin.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/popup-with-same-origin.https.html.ini new file mode 100644 index 0000000000..9cabcde1f9 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/popup-with-same-origin.https.html.ini @@ -0,0 +1,11 @@ +[popup-with-same-origin.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Same-origin popup with empty coop] + expected: FAIL + + [Same-origin popup with coop unsafe-none] + expected: FAIL + + [Same-origin popup with coop restrict-properties] + expected: FAIL diff --git a/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/popup-with-same-site.https.html.ini b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/popup-with-same-site.https.html.ini new file mode 100644 index 0000000000..0cfdd59b94 --- /dev/null +++ b/testing/web-platform/meta/html/cross-origin-opener-policy/tentative/restrict-properties/popup-with-same-site.https.html.ini @@ -0,0 +1,12 @@ +[popup-with-same-site.https.html] + expected: + if (os == "android") and not fission and not debug: [OK, TIMEOUT] + if (os == "android") and fission: [OK, TIMEOUT] + [Same-site popup with empty coop] + expected: FAIL + + [Same-site popup with coop unsafe-none] + expected: FAIL + + [Same-site popup with coop restrict-properties] + expected: FAIL |