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

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

Issue 2319833002: Deflake paint/invalidation/animated-gif*.html (Closed)
Patch Set: Disable under-invalidation checking for offscreen gif animation 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 d799d0f0843e8f21a182656eadc9e199768ffd68..61d07c532fbca3442a82c3a2bab30a7c12b66f64 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();
}
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | third_party/WebKit/LayoutTests/paint/invalidation/animated-gif.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698