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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/loader/redirect-with-open-subframe-2.html

Issue 2694903007: Add a warning for the deprecation of content-initiated data URL navigations (Closed)
Patch Set: creis comments Created 3 years, 10 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 <script> 2 <script>
3 function test() { 3 function test() {
4 if (window.testRunner) { 4 if (window.testRunner) {
5 testRunner.waitUntilDone(); 5 testRunner.waitUntilDone();
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 } 7 }
8 document.open(); 8 document.open();
9 var newDoc = "SUCCESS<script>if (window.testRunner) testRunner.notifyDone(); </scr" + "ipt>"; 9 setTimeout("window.location='../../resources/notify-success.html'", 500);
10 setTimeout("window.location='data:text/html," + newDoc + "'", 500);
11 } 10 }
12 </script> 11 </script>
13 <body onload="test()"> 12 <body onload="test()">
14 </body> 13 </body>
15 </html> 14 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698