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

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

Issue 2741513002: [Merge M-57] Add a warning for the deprecation of content-initiated data URL navigations (Closed)
Patch Set: Created 3 years, 9 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 <body> 2 <body>
3 <iframe id="ifrm" src="about:blank"></iframe> 3 <iframe id="ifrm" src="about:blank"></iframe>
4 <script> 4 <script>
5 document.getElementById("ifrm").contentDocument.open(); 5 document.getElementById("ifrm").contentDocument.open();
6 if (window.testRunner) { 6 if (window.testRunner) {
7 testRunner.waitUntilDone(); 7 testRunner.waitUntilDone();
8 testRunner.dumpAsText(); 8 testRunner.dumpAsText();
9 } 9 }
10 var newDoc = "SUCCESS<script>if (window.testRunner) testRunner.notifyDone(); </scr" + "ipt>"; 10 setTimeout("window.location='../../resources/notify-success.html'", 500);
11 setTimeout("window.location='data:text/html," + newDoc + "'", 500);
12 </script> 11 </script>
13 <div>FAILURE: should redirect.</div> 12 <div>FAILURE: should redirect.</div>
14 </body> 13 </body>
15 </html> 14 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698