Commit b3284ef2 authored by Titouan Rigoudy's avatar Titouan Rigoudy Committed by Chromium LUCI CQ

[CORS-RFC1918] Test opener/openee inheritance.

Whereas in the embedded iframe tests, we exercise 7 different sources:

 - `about:blank`
 - the initial empty document
 - srcdoc
 - `data:`
 - `javascript:`
 - `blob:`
 - `filesystem:`

For these tests only 4 of them are relevant, because:

 - srcdoc is not applicable to `window.open()`
 - a top-level frame cannot be navigated to a `data:` URL
 - a top-level frame cannot be navigated to a `filesystem:` URL

This is also what the Web Platform tests do, see:
third_party/blink/web_tests/external/wpt/secure-contexts/basic-popup-and-iframe-tests.https.js

Bug: chromium:1126856, chromium:1154729
Change-Id: I3e89732b3f788c25e11064b9bc429c460e061fe4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2595530
Commit-Queue: Titouan Rigoudy <titouan@chromium.org>
Reviewed-by: default avatarCamille Lamy <clamy@chromium.org>
Auto-Submit: Titouan Rigoudy <titouan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#842555}
parent 5de1f7b8
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment