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

Side by Side Diff: LayoutTests/fast/canvas/resources/asyncpaintguard.js

Issue 1161463007: De-flaking some tests in virtual/gpu/fast/canvas (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: undo previous patch (wrong issue) Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « LayoutTests/fast/canvas/patternfill-repeat-expected.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // In tests that are not explicitly async, include this file to ensure
2 // paint completion before the layout test pixel results are captured.
3
4 if (window.testRunner)
5 testRunner.waitUntilDone();
6
7 function finishTest() {
8 if (window.testRunner) {
9 testRunner.layoutAndPaintAsyncThen(function () { testRunner.notifyDone() ; });
10 }
11 }
12
13 window.addEventListener("load", finishTest, false);
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/patternfill-repeat-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698