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

Unified Diff: LayoutTests/fast/parser/document-close-nested-iframe-load.html

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/fast/parser/document-close-nested-iframe-load.html
diff --git a/LayoutTests/fast/parser/document-close-nested-iframe-load.html b/LayoutTests/fast/parser/document-close-nested-iframe-load.html
index 7fa2bfca9777e59218938d22724548cfe1089231..5d61016d055a5acac3ec63e821aa57440a71b2f8 100644
--- a/LayoutTests/fast/parser/document-close-nested-iframe-load.html
+++ b/LayoutTests/fast/parser/document-close-nested-iframe-load.html
@@ -1,6 +1,8 @@
<script>
-if (window.testRunner)
+if (window.testRunner) {
testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+}
</script>
FAIL
-<iframe onload="document.open(); document.close(); document.write('<iframe onload=document.open();document.close();document.write(/PASS/); >')"></iframe>
+<iframe onload="document.open(); document.close(); document.write('<iframe onload=\'document.open();document.close();document.write(/PASS/); document.close(); if (window.testRunner) testRunner.notifyDone();\'>')"></iframe>
« no previous file with comments | « LayoutTests/fast/parser/adoption-agency-crash-03.html ('k') | LayoutTests/fast/parser/document-open-in-unload.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698