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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/navigation/resources/notify-done.html

Issue 1907413003: Wait until the test page is fully loaded before dumping the contents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweaking a comment. Created 4 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/security/referrer-policy-attribute-img-no-referrer-when-downgrade.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/navigation/resources/notify-done.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/navigation/resources/notify-done.html b/third_party/WebKit/LayoutTests/http/tests/navigation/resources/notify-done.html
index 998e9278ef7b846b7a2d9203e45507be03ffa1ea..3eaacdc7e67efe26f27b0d24f716b311ecfc8a48 100644
--- a/third_party/WebKit/LayoutTests/http/tests/navigation/resources/notify-done.html
+++ b/third_party/WebKit/LayoutTests/http/tests/navigation/resources/notify-done.html
@@ -1,8 +1,11 @@
<html>
<script>
-if (window.testRunner)
- testRunner.notifyDone();
+function onLoad() {
+ if (window.testRunner)
+ testRunner.notifyDone();
+}
</script>
-<body>
+<body onload="onLoad()">
This page calls testRunner.notifyDone().
+</body>
</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/security/referrer-policy-attribute-img-no-referrer-when-downgrade.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698