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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/resources/text-based-repaint.js

Issue 2319833002: Deflake paint/invalidation/animated-gif*.html (Closed)
Patch Set: Created 4 years, 3 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: third_party/WebKit/LayoutTests/fast/repaint/resources/text-based-repaint.js
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/resources/text-based-repaint.js b/third_party/WebKit/LayoutTests/fast/repaint/resources/text-based-repaint.js
index 93ce90de5005a2ddfc7aad27197f6a2ab9cb9cbc..39b24aa65dbf94f83147079a8f1cbebc0e3cdb37 100644
--- a/third_party/WebKit/LayoutTests/fast/repaint/resources/text-based-repaint.js
+++ b/third_party/WebKit/LayoutTests/fast/repaint/resources/text-based-repaint.js
@@ -71,9 +71,9 @@ function finishRepaintTest()
testRunner.setCustomTextOutput(repaintRects);
if (window.afterTest)
- window.afterTest();
+ window.afterTest(repaintRects);
- // Play nice with async JS tests which want to notifyDone themselves.
- if (!window.jsTestIsAsync)
+ // Play nice with async JS tests and harness tests which want to notifyDone themselves.
+ if (!window.jsTestIsAsync && !window.add_completion_callback)
testRunner.notifyDone();
}

Powered by Google App Engine
This is Rietveld 408576698