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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/misc/window-open-then-write.html

Issue 2735183003: PlzNavigate: stop navigations when opening a document for write (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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/misc/window-open-then-write.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/misc/window-open-then-write.html b/third_party/WebKit/LayoutTests/http/tests/misc/window-open-then-write.html
index 9bee4205f19f1d185e42ef507cdb77d11729e57b..6473f973a550f1428d8fc50948bcd025eecf812e 100644
--- a/third_party/WebKit/LayoutTests/http/tests/misc/window-open-then-write.html
+++ b/third_party/WebKit/LayoutTests/http/tests/misc/window-open-then-write.html
@@ -8,7 +8,7 @@ if (window.testRunner) {
function runTest() {
var w = window.open('window-open-then-write.html');
- w.document.write('<img src="resources/compass.jpg" onload="if (window.testRunner) setTimeout(\'testRunner.notifyDone()\', 100);">');
+ w.document.write('<img src="resources/compass.jpg" onload="if (window.testRunner) setTimeout(\'testRunner.notifyDone()\', 500);">');
Nate Chapin 2017/03/07 18:39:08 What's the reason for extending this timeout? Is t
clamy 2017/03/13 13:55:57 Sorry this was for testing. I needed to trigger a
w.document.close();
}
</script>

Powered by Google App Engine
This is Rietveld 408576698