From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- .../navigate-to-aboutblank.https.html | 193 +++++++++++++++++++++ 1 file changed, 193 insertions(+) create mode 100644 testing/web-platform/tests/html/cross-origin-opener-policy/navigate-to-aboutblank.https.html (limited to 'testing/web-platform/tests/html/cross-origin-opener-policy/navigate-to-aboutblank.https.html') diff --git a/testing/web-platform/tests/html/cross-origin-opener-policy/navigate-to-aboutblank.https.html b/testing/web-platform/tests/html/cross-origin-opener-policy/navigate-to-aboutblank.https.html new file mode 100644 index 0000000000..b2145cfa56 --- /dev/null +++ b/testing/web-platform/tests/html/cross-origin-opener-policy/navigate-to-aboutblank.https.html @@ -0,0 +1,193 @@ + + This tests the inheritance of COOP for navigations to about:blank. + + + + + + + + +

Non-initial empty documents (about:blank) should inherit their + cross-origin-opener-policy from the navigation's initiator top level document, + if the initiator and its top level document are same-origin, or default + (unsafe-none) otherwise. +

+ +
    +
  1. Create the opener popup with a given COOP openerCOOP.
  2. +
  3. Add iframe to the opener popup that is either same-origin or + cross-origin. +
  4. +
  5. Opener's iframe opens a new window, to a network document with openeeCOOP.
  6. +
  7. Opener's iframe navigates the openee popup to about:blank.
  8. +
+ + -- cgit v1.2.3