Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
1 parent
db9d339
commit f4b94a7
Showing
3 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Origin-Isolation: ?1 |