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

Unified Diff: third_party/WebKit/LayoutTests/fast/loader/reload-zero-byte-plugin.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/loader/reload-zero-byte-plugin.html
diff --git a/third_party/WebKit/LayoutTests/fast/loader/reload-zero-byte-plugin.html b/third_party/WebKit/LayoutTests/fast/loader/reload-zero-byte-plugin.html
index 37f8f87fbd3c60d22e3d2c8f188e08536fbbe5ac..36ddf3f13623ca120041b7442c848a31d4c8a1ef 100644
--- a/third_party/WebKit/LayoutTests/fast/loader/reload-zero-byte-plugin.html
+++ b/third_party/WebKit/LayoutTests/fast/loader/reload-zero-byte-plugin.html
@@ -1,3 +1,4 @@
+<iframe src="data:application/x-blink-test-plugin," id="f"></iframe>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
@@ -6,9 +7,8 @@ if (window.testRunner) {
testRunner.setCloseRemainingWindowsWhenComplete(true);
}
-var win = window.open('data:application/x-blink-test-plugin,');
setTimeout(function() {
- win.location.reload();
+ document.getElementById("f").contentWindow.location.reload()
setTimeout(function() {
if (window.testRunner)
testRunner.notifyDone();

Powered by Google App Engine
This is Rietveld 408576698