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

Unified Diff: LayoutTests/fast/loader/create-frame-in-DOMContentLoaded.html

Issue 679863002: Revert "Prepare blink to unify definitions of load completion" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/loader/create-frame-in-DOMContentLoaded.html
diff --git a/LayoutTests/fast/loader/create-frame-in-DOMContentLoaded.html b/LayoutTests/fast/loader/create-frame-in-DOMContentLoaded.html
index 8aa074c472fc8d2a60f40ac5d9b84df2d78245fe..2e3d2a141fd2a96a8b3539d6c3dc496ada069ca3 100644
--- a/LayoutTests/fast/loader/create-frame-in-DOMContentLoaded.html
+++ b/LayoutTests/fast/loader/create-frame-in-DOMContentLoaded.html
@@ -14,8 +14,6 @@ function handleDOMContentLoadedEvent()
frame = document.createElement("iframe");
document.body.appendChild(frame);
print("B) Exiting DOMContentLoaded event handler function.");
- if (window.testRunner)
- testRunner.notifyDone();
}
function handleLoadEvent()
{
@@ -24,10 +22,8 @@ function handleLoadEvent()
print("D) Exiting load event handler function.");
print("Test passed if messages A, B, C, D were all in order and there was no crash.");
}
-if (window.testRunner) {
+if (window.testRunner)
testRunner.dumpAsText();
- testRunner.waitUntilDone();
-}
addEventListener("load", handleLoadEvent);
addEventListener("DOMContentLoaded", handleDOMContentLoadedEvent);
</script>
« no previous file with comments | « LayoutTests/fast/html/imports/import-destroy-stress.html ('k') | LayoutTests/fast/loader/external-script-URL-location.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698