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

Unified Diff: LayoutTests/fast/dom/Document/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/dom/Document/document-close-nested-iframe-load.html
diff --git a/LayoutTests/fast/dom/Document/document-close-nested-iframe-load.html b/LayoutTests/fast/dom/Document/document-close-nested-iframe-load.html
index 7fa2bfca9777e59218938d22724548cfe1089231..5fe1e91253e7ea1fd585ae489ebfc375b80909ac 100644
--- a/LayoutTests/fast/dom/Document/document-close-nested-iframe-load.html
+++ b/LayoutTests/fast/dom/Document/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>

Powered by Google App Engine
This is Rietveld 408576698