Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8033)

Unified Diff: chrome/test/data/android/popup_test.html

Issue 2702503002: Block renderer-initiated main frame navigations to data URLs (Closed)
Patch Set: Fix Android PDF tests where PDFs should be downloaded Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/android/popup_test.html
diff --git a/chrome/test/data/android/popup_test.html b/chrome/test/data/android/popup_test.html
index 544a162926164feef22d5ecefcd993e7e12614b9..626bcde11917eb8dbcd548c5f844dfe3a31ccdee 100644
--- a/chrome/test/data/android/popup_test.html
+++ b/chrome/test/data/android/popup_test.html
@@ -3,9 +3,9 @@
<title>Popup test page</title>
<script type="text/javascript">
function spawnWindows() {
- window.open('data:text/html,<html><head><title>Popup #1</title></head><body /></html>');
- window.open('data:text/html,<html><head><title>Popup #2</title></head><body /></html>');
- window.open('data:text/html,<html><head><title>Popup #3</title></head><body /></html>');
+ window.open('navigate/one.html');
+ window.open('navigate/two.html');
+ window.open('navigate/three.html');
}
</script>
</head>

Powered by Google App Engine
This is Rietveld 408576698