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

Unified Diff: LayoutTests/http/tests/incremental/doc-write-before-end.pl

Issue 561813003: Prepare blink to unify definitions of load completion (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add document.close() to scroll-left-while-loading.html Created 6 years, 2 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: LayoutTests/http/tests/incremental/doc-write-before-end.pl
diff --git a/LayoutTests/http/tests/incremental/doc-write-before-end.pl b/LayoutTests/http/tests/incremental/doc-write-before-end.pl
index a89e5fd40f30615a59155242d1bfd1ddde2b49fe..56bbe15bdb75bf24297e049f72e6df8f22740581 100755
--- a/LayoutTests/http/tests/incremental/doc-write-before-end.pl
+++ b/LayoutTests/http/tests/incremental/doc-write-before-end.pl
@@ -12,7 +12,7 @@ print "\n";
print "\xef\xbb\xbf<!DOCTYPE html><body>";
print "<script>if (window.testRunner) window.testRunner.dumpAsText();</script>";
-print "<img src='404.gif' onerror='document.write(\"PASS\");'>";
+print "<img src='404.gif' onerror='document.write(\"PASS\"); document.close()'>";
# Dump some spaces to bypass CFNetwork buffering.
for ($count = 1; $count < 4000; $count++) {
print " ";
« no previous file with comments | « LayoutTests/http/tests/fouc/scroll-left-while-loading.html ('k') | LayoutTests/http/tests/local/file-url-sent-as-referer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698