diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
commit | 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch) | |
tree | a31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /testing/web-platform/meta/x-frame-options | |
parent | Initial commit. (diff) | |
download | firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip |
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/x-frame-options')
3 files changed, 173 insertions, 0 deletions
diff --git a/testing/web-platform/meta/x-frame-options/deny.html.ini b/testing/web-platform/meta/x-frame-options/deny.html.ini new file mode 100644 index 0000000000..0a53855377 --- /dev/null +++ b/testing/web-platform/meta/x-frame-options/deny.html.ini @@ -0,0 +1,5 @@ +[deny.html] + expected: TIMEOUT + [`DENY` blocks cross-origin framing with CSP frame-ancestors 'self'] + expected: TIMEOUT + diff --git a/testing/web-platform/meta/x-frame-options/invalid.html.ini b/testing/web-platform/meta/x-frame-options/invalid.html.ini new file mode 100644 index 0000000000..aa5fc15219 --- /dev/null +++ b/testing/web-platform/meta/x-frame-options/invalid.html.ini @@ -0,0 +1,3 @@ +[invalid.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/x-frame-options/multiple.html.ini b/testing/web-platform/meta/x-frame-options/multiple.html.ini new file mode 100644 index 0000000000..6cb866eb49 --- /dev/null +++ b/testing/web-platform/meta/x-frame-options/multiple.html.ini @@ -0,0 +1,165 @@ +[multiple.html] + disabled: + if tsan: https://bugzilla.mozilla.org/show_bug.cgi?1682723 + expected: + if debug and (os == "linux") and fission and swgl: [OK, TIMEOUT] + if debug and (os == "linux") and not fission: [OK, TIMEOUT] + if debug and (os == "android") and fission: [OK, TIMEOUT] + [`ALLOWALL;INVALID` blocks same-origin framing] + expected: FAIL + + [`(the empty string),SAMEORIGIN` blocks same-origin framing] + expected: FAIL + + [`SAMEORIGIN,INVALID` blocks same-origin framing] + expected: FAIL + + [`INVALID;allowAll` blocks same-origin framing] + expected: FAIL + + [`INVALID,SAMEORIGIN` blocks same-origin framing] + expected: FAIL + + [`ALLOWALL,INVALID` blocks same-origin framing] + expected: FAIL + + [`INVALID,allowAll` blocks same-origin framing] + expected: FAIL + + [`SAMEORIGIN;` blocks same-origin framing] + expected: FAIL + + [`ALLOWALL,(the empty string)` blocks same-origin framing] + expected: FAIL + + [`INVALID,ALLOWALL` blocks same-origin framing] + expected: FAIL + + [`INVALID;SAMEORIGIN` blocks same-origin framing] + expected: FAIL + + [`(the empty string),ALLOWALL` blocks same-origin framing] + expected: FAIL + + [`ALLOWALL,SAMEORIGIN` blocks same-origin framing] + expected: FAIL + + [`ALLOWALL;` blocks same-origin framing] + expected: FAIL + + [`(the empty string);SAMEORIGIN` blocks same-origin framing] + expected: FAIL + + [`allowAll,INVALID` blocks same-origin framing] + expected: FAIL + + [`SAMEORIGIN,ALLOWALL` blocks same-origin framing] + expected: FAIL + + [`ALLOWALL;SAMEORIGIN` blocks same-origin framing] + expected: FAIL + + [`"DENY",SAMEORIGIN` blocks same-origin framing] + expected: FAIL + + [`"DENY";SAMEORIGIN` blocks same-origin framing] + expected: FAIL + + [`SAMEORIGIN,(the empty string)` blocks same-origin framing] + expected: FAIL + + [`SAMEORIGIN;INVALID` blocks same-origin framing] + expected: FAIL + + [`(the empty string);ALLOWALL` blocks same-origin framing] + expected: FAIL + + [`SAMEORIGIN;ALLOWALL` blocks same-origin framing] + expected: FAIL + + [`INVALID;ALLOWALL` blocks same-origin framing] + expected: FAIL + + [`SAMEORIGIN;"DENY"` blocks same-origin framing] + expected: FAIL + + [`allowAll;INVALID` blocks same-origin framing] + expected: FAIL + + [`SAMEORIGIN,"DENY"` blocks same-origin framing] + expected: FAIL + + [`INVALID;` allows same-origin framing] + expected: + if (os == "linux") and debug and fission and swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and not fission: [PASS, TIMEOUT] + + [`INVALID;INVALID` allows cross-origin framing] + expected: + if (os == "linux") and debug and fission and swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and not fission: [PASS, TIMEOUT] + + [`INVALID,(the empty string)` allows same-origin framing] + expected: + if (os == "linux") and debug and fission and swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and not fission: [PASS, TIMEOUT] + + [`INVALID,(the empty string)` allows cross-origin framing] + expected: + if (os == "linux") and debug and fission and swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and not fission: [PASS, TIMEOUT] + + [`(the empty string);INVALID` allows same-origin framing] + expected: + if (os == "linux") and debug and fission and swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and not fission: [PASS, TIMEOUT] + + [`(the empty string),INVALID` allows same-origin framing] + expected: + if (os == "linux") and debug and fission and swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and not fission: [PASS, TIMEOUT] + + [`(the empty string);INVALID` allows cross-origin framing] + expected: + if (os == "linux") and debug and fission and swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and not fission: [PASS, TIMEOUT] + + [`sameOrigin,SAMEORIGIN` allows same-origin framing] + expected: + if (os == "linux") and debug and fission and swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and not fission: [PASS, TIMEOUT] + + [`(the empty string),INVALID` allows cross-origin framing] + expected: + if (os == "linux") and debug and fission and swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and not fission: [PASS, TIMEOUT] + + [`SAMEORIGIN;SAMEORIGIN` allows same-origin framing] + expected: + if (os == "linux") and debug and fission and swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and not fission: [PASS, TIMEOUT] + + [`sameOrigin;SAMEORIGIN` allows same-origin framing] + expected: + if (os == "linux") and debug and fission and swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and not fission: [PASS, TIMEOUT] + + [`SAMEORIGIN;sameOrigin` allows same-origin framing] + expected: + if (os == "linux") and debug and fission and swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and not fission: [PASS, TIMEOUT] + + [`INVALID;INVALID` allows same-origin framing] + expected: + if (os == "linux") and debug and fission and swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and not fission: [PASS, TIMEOUT] + + [`SAMEORIGIN,sameOrigin` allows same-origin framing] + expected: + if (os == "linux") and debug and fission and swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and not fission: [PASS, TIMEOUT] + + [`INVALID;` allows cross-origin framing] + expected: + if (os == "linux") and debug and fission and swgl: [PASS, TIMEOUT] + if (os == "linux") and debug and not fission: [PASS, TIMEOUT] |