From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- .../web-platform/tests/x-frame-options/META.yml | 5 + .../web-platform/tests/x-frame-options/README.md | 3 + .../web-platform/tests/x-frame-options/deny.html | 43 +++++++ .../tests/x-frame-options/get-decode-split.html | 23 ++++ .../tests/x-frame-options/invalid.html | 59 ++++++++++ .../tests/x-frame-options/multiple.html | 131 +++++++++++++++++++++ .../tests/x-frame-options/redirect.html | 17 +++ .../tests/x-frame-options/sameorigin.sub.html | 53 +++++++++ .../tests/x-frame-options/support/helper.sub.js | 104 ++++++++++++++++ .../tests/x-frame-options/support/nested.py | 39 ++++++ .../tests/x-frame-options/support/redirect.py | 4 + .../tests/x-frame-options/support/xfo.py | 21 ++++ 12 files changed, 502 insertions(+) create mode 100644 testing/web-platform/tests/x-frame-options/META.yml create mode 100644 testing/web-platform/tests/x-frame-options/README.md create mode 100644 testing/web-platform/tests/x-frame-options/deny.html create mode 100644 testing/web-platform/tests/x-frame-options/get-decode-split.html create mode 100644 testing/web-platform/tests/x-frame-options/invalid.html create mode 100644 testing/web-platform/tests/x-frame-options/multiple.html create mode 100644 testing/web-platform/tests/x-frame-options/redirect.html create mode 100644 testing/web-platform/tests/x-frame-options/sameorigin.sub.html create mode 100644 testing/web-platform/tests/x-frame-options/support/helper.sub.js create mode 100644 testing/web-platform/tests/x-frame-options/support/nested.py create mode 100644 testing/web-platform/tests/x-frame-options/support/redirect.py create mode 100644 testing/web-platform/tests/x-frame-options/support/xfo.py (limited to 'testing/web-platform/tests/x-frame-options') diff --git a/testing/web-platform/tests/x-frame-options/META.yml b/testing/web-platform/tests/x-frame-options/META.yml new file mode 100644 index 0000000000..622213edad --- /dev/null +++ b/testing/web-platform/tests/x-frame-options/META.yml @@ -0,0 +1,5 @@ +spec: https://html.spec.whatwg.org/multipage/browsing-the-web.html#the-x-frame-options-header +suggested_reviewers: + - annevk + - mikewest + - domenic diff --git a/testing/web-platform/tests/x-frame-options/README.md b/testing/web-platform/tests/x-frame-options/README.md new file mode 100644 index 0000000000..2fad3599d5 --- /dev/null +++ b/testing/web-platform/tests/x-frame-options/README.md @@ -0,0 +1,3 @@ +This directory contains tests for [`X-Frame-Options`](https://html.spec.whatwg.org/#the-x-frame-options-header). + +Currently it only tests `