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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/loader/reload-zero-byte-plugin.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 <iframe src="data:application/x-blink-test-plugin," id="f"></iframe>
1 <script> 2 <script>
2 if (window.testRunner) { 3 if (window.testRunner) {
3 testRunner.dumpAsText(); 4 testRunner.dumpAsText();
4 testRunner.waitUntilDone(); 5 testRunner.waitUntilDone();
5 testRunner.setCanOpenWindows(true); 6 testRunner.setCanOpenWindows(true);
6 testRunner.setCloseRemainingWindowsWhenComplete(true); 7 testRunner.setCloseRemainingWindowsWhenComplete(true);
7 } 8 }
8 9
9 var win = window.open('data:application/x-blink-test-plugin,');
10 setTimeout(function() { 10 setTimeout(function() {
11 win.location.reload(); 11 document.getElementById("f").contentWindow.location.reload()
12 setTimeout(function() { 12 setTimeout(function() {
13 if (window.testRunner) 13 if (window.testRunner)
14 testRunner.notifyDone(); 14 testRunner.notifyDone();
15 }, 100); 15 }, 100);
16 }, 100); 16 }, 100);
17 </script> 17 </script>
18 This test passes if it doesn't crash. To run manually, please disable your 18 This test passes if it doesn't crash. To run manually, please disable your
19 popup blocker. 19 popup blocker.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698