Bug 1666023 [wpt PR 25636] - Origin isolation: add crash test for noopener popup windows, a=testonly

Automatic update from web-platform-tests
Origin isolation: add crash test for noopener popup windows (#25636)

This illustrates the issue in https://crbug.com/1099718.

Bug: 1099718
Change-Id: Ie27df0a2cd5f62370332b318726bc10f965efe85
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2270626
Reviewed-by: James MacLean <wjmaclean@chromium.org>
Commit-Queue: Domenic Denicola <domenic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#809886}

Co-authored-by: Domenic Denicola <domenic@chromium.org>
--

wpt-commits: f4b94a757df7a0ab27d644b01eefe1cd2b5b6d7c
wpt-pr: 25636
This commit is contained in:
Blink WPT Bot 2020-09-24 19:13:14 +00:00 committed by moz-wptsync-bot
parent 02261daa98
commit 9af86aa10e
3 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Crash test for https://crbug.com/1099718</title>
<div id="log"></div>
<script>
window.open("resources/crashy-popup.sub.html", "windowName1", "noopener");
</script>

View File

@ -0,0 +1,6 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>This page helps exhibit a crash bug when window.open()ed</title>
<iframe src="https://{{hosts[][www]}}:{{ports[https][0]}}/origin-isolation/resources/send-origin-isolation-header.py"></iframe>
<iframe src="https://{{hosts[][www]}}:{{ports[https][0]}}/origin-isolation/resources/send-origin-isolation-header.py?header=?1"></iframe>

View File

@ -0,0 +1 @@
Origin-Isolation: ?1