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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <title>Popup test page</title> 3 <title>Popup test page</title>
4 <script type="text/javascript"> 4 <script type="text/javascript">
5 function spawnWindows() { 5 function spawnWindows() {
6 window.open('data:text/html,<html><head><title>Popup #1</title></head><b ody /></html>'); 6 window.open('navigate/one.html');
7 window.open('data:text/html,<html><head><title>Popup #2</title></head><b ody /></html>'); 7 window.open('navigate/two.html');
8 window.open('data:text/html,<html><head><title>Popup #3</title></head><b ody /></html>'); 8 window.open('navigate/three.html');
9 } 9 }
10 </script> 10 </script>
11 </head> 11 </head>
12 <body onload="spawnWindows()"> 12 <body onload="spawnWindows()">
13 Spawning three popup windows... 13 Spawning three popup windows...
14 </body> 14 </body>
15 </html> 15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698