From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../meta/x-frame-options/deny.html.ini | 48 ++ .../meta/x-frame-options/get-decode-split.html.ini | 23 + .../meta/x-frame-options/invalid.html.ini | 3 + .../meta/x-frame-options/multiple.html.ini | 557 +++++++++++++++++++++ .../meta/x-frame-options/sameorigin.sub.html.ini | 33 ++ 5 files changed, 664 insertions(+) create mode 100644 testing/web-platform/meta/x-frame-options/deny.html.ini create mode 100644 testing/web-platform/meta/x-frame-options/get-decode-split.html.ini create mode 100644 testing/web-platform/meta/x-frame-options/invalid.html.ini create mode 100644 testing/web-platform/meta/x-frame-options/multiple.html.ini create mode 100644 testing/web-platform/meta/x-frame-options/sameorigin.sub.html.ini (limited to 'testing/web-platform/meta/x-frame-options') 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..084d3347a0 --- /dev/null +++ b/testing/web-platform/meta/x-frame-options/deny.html.ini @@ -0,0 +1,48 @@ +[deny.html] + expected: + if (os == "mac") and not debug: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + [`DENY` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`denY` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`denY` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [` DENY ` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [` DENY ` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY` blocks same-origin framing with CSP default-src 'self'] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY` blocks cross-origin framing with CSP default-src 'self'] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY` blocks cross-origin framing with CSP frame-ancestors 'self'] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] diff --git a/testing/web-platform/meta/x-frame-options/get-decode-split.html.ini b/testing/web-platform/meta/x-frame-options/get-decode-split.html.ini new file mode 100644 index 0000000000..c2d447b01c --- /dev/null +++ b/testing/web-platform/meta/x-frame-options/get-decode-split.html.ini @@ -0,0 +1,23 @@ +[get-decode-split.html] + expected: + if (os == "mac") and not debug: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + [`,SAMEORIGIN,,DENY,` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`,SAMEORIGIN,,DENY,` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [` SAMEORIGIN, DENY` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [` SAMEORIGIN, DENY` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, 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..34df9c7050 --- /dev/null +++ b/testing/web-platform/meta/x-frame-options/multiple.html.ini @@ -0,0 +1,557 @@ +[multiple.html] + disabled: + if tsan: https://bugzilla.mozilla.org/show_bug.cgi?1682723 + expected: + if (os == "linux") and debug and fission and swgl: [OK, TIMEOUT] + if (os == "linux") and debug and not fission: [OK, TIMEOUT] + if (os == "mac") and not debug: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + [`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] + + [`ALLOWALL;DENY` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`allowAll,INVALID` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`INVALID,allowAll` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`ALLOWALL,(the empty string)` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN;DENY` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN;"DENY"` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY;ALLOWALL` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY,"SAMEORIGIN"` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`(the empty string),SAMEORIGIN` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`"DENY",SAMEORIGIN` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN,ALLOWALL` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`INVALID;allowAll` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`"SAMEORIGIN",DENY` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`INVALID;SAMEORIGIN` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN;` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`ALLOWALL;DENY` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`INVALID;allowAll` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`INVALID,ALLOWALL` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`(the empty string);ALLOWALL` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN;INVALID` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`sameOrigin;SAMEORIGIN` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`ALLOWALL,SAMEORIGIN` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`(the empty string);SAMEORIGIN` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY;SAMEORIGIN` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY,SAMEORIGIN` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`"DENY";SAMEORIGIN` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY;DENY` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY;INVALID` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN,INVALID` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY;"SAMEORIGIN"` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`ALLOWALL,INVALID` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`sameOrigin,SAMEORIGIN` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`ALLOWALL;SAMEORIGIN` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN,(the empty string)` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`"SAMEORIGIN";DENY` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`ALLOWALL,DENY` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`INVALID,SAMEORIGIN` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY,INVALID` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`INVALID;DENY` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY,INVALID` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`ALLOWALL,INVALID` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`allowAll;INVALID` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN;DENY` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`"SAMEORIGIN",DENY` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN,ALLOWALL` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`ALLOWALL,DENY` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`(the empty string),SAMEORIGIN` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN;ALLOWALL` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`(the empty string),ALLOWALL` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`"DENY",SAMEORIGIN` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`INVALID,ALLOWALL` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN,"DENY"` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN,DENY` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN,(the empty string)` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`allowAll,INVALID` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN;ALLOWALL` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`INVALID;ALLOWALL` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`ALLOWALL;` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN;INVALID` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`INVALID;ALLOWALL` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY,"SAMEORIGIN"` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY;SAMEORIGIN` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`INVALID,DENY` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN;SAMEORIGIN` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY,ALLOWALL` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`(the empty string);SAMEORIGIN` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY;DENY` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN,"DENY"` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`(the empty string),ALLOWALL` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`ALLOWALL,(the empty string)` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN,DENY` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`INVALID,SAMEORIGIN` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY;INVALID` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY;ALLOWALL` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`"DENY";SAMEORIGIN` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`INVALID,DENY` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`ALLOWALL;INVALID` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`ALLOWALL;INVALID` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`INVALID;SAMEORIGIN` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`allowAll;INVALID` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY,ALLOWALL` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY;"SAMEORIGIN"` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN;"DENY"` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`(the empty string);ALLOWALL` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`INVALID;DENY` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN;` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`INVALID,allowAll` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`ALLOWALL;SAMEORIGIN` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`ALLOWALL,SAMEORIGIN` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN;sameOrigin` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`"SAMEORIGIN";DENY` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN,INVALID` blocks same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`SAMEORIGIN,sameOrigin` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`ALLOWALL;` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`DENY,SAMEORIGIN` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] diff --git a/testing/web-platform/meta/x-frame-options/sameorigin.sub.html.ini b/testing/web-platform/meta/x-frame-options/sameorigin.sub.html.ini new file mode 100644 index 0000000000..87896043ac --- /dev/null +++ b/testing/web-platform/meta/x-frame-options/sameorigin.sub.html.ini @@ -0,0 +1,33 @@ +[sameorigin.sub.html] + expected: + if (os == "mac") and not debug: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, TIMEOUT] + [`SAMEORIGIN` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [`sameOriGin` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [` SAMEORIGIN ` blocks cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [SAMEORIGIN blocks cross-origin nested in same-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [SAMEORIGIN blocks same-origin nested in cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] + + [SAMEORIGIN blocks cross-origin nested in cross-origin framing] + expected: + if (os == "mac") and not debug: [PASS, TIMEOUT] + if (os == "android") and not debug: [PASS, TIMEOUT] -- cgit v1.2.3