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

Unified Diff: third_party/WebKit/LayoutTests/svg/wicd/test-rightsizing-b.xhtml

Issue 1874723002: Wait for 'load' in svg/wicd/test-rightsizing-b.xhtml (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/svg/wicd/test-rightsizing-b.xhtml
diff --git a/third_party/WebKit/LayoutTests/svg/wicd/test-rightsizing-b.xhtml b/third_party/WebKit/LayoutTests/svg/wicd/test-rightsizing-b.xhtml
index cc3a3cc270b4d1ddfb7909ccf7fa0772045d5692..f5c1e6c362b2e8a041c82b3deeb4d5fe5c3e5b7e 100644
--- a/third_party/WebKit/LayoutTests/svg/wicd/test-rightsizing-b.xhtml
+++ b/third_party/WebKit/LayoutTests/svg/wicd/test-rightsizing-b.xhtml
@@ -32,10 +32,9 @@
<script>
if (window.testRunner)
testRunner.waitUntilDone();
- runAfterLayoutAndPaint(function() {
- if (window.testRunner)
- testRunner.notifyDone();
- });
+ onload = function() {
+ runAfterLayoutAndPaint(function() {}, true);
+ };
</script>
</body>
</html>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698