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(); |