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

Unified Diff: LayoutTests/fast/canvas/canvas-composite-fill-repaint.html

Issue 207383002: Remove repaint.js from layout tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More expectations Created 6 years, 9 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: LayoutTests/fast/canvas/canvas-composite-fill-repaint.html
diff --git a/LayoutTests/fast/canvas/canvas-composite-fill-repaint.html b/LayoutTests/fast/canvas/canvas-composite-fill-repaint.html
index 71060e45e55e0eb5cf0a8b41e3bf30cb877e20b9..e72f9fdac94686cbc02ac523eed667b03d5f6960 100644
--- a/LayoutTests/fast/canvas/canvas-composite-fill-repaint.html
+++ b/LayoutTests/fast/canvas/canvas-composite-fill-repaint.html
@@ -1,13 +1,15 @@
<!doctype html>
-<script src="resources/repaint.js"></script>
-<body onload="runRepaintTest();">
+<script src="../../resources/run-after-display.js"></script>
+<body onload="runAfterDisplay(repaintTest);">
<canvas id="canvas-source-in" width="100" height="100"></canvas>
<canvas id="canvas-copy" width="100" height="100"></canvas>
<script>
var compositeTypes = ['source-in','copy'];
- if (window.testRunner)
+ if (window.testRunner) {
testRunner.dumpAsTextWithPixelResults();
+ testRunner.waitUntilDone();
+ }
for (i = 0; i < compositeTypes.length; i++) {
var canvas = document.getElementById('canvas-' + compositeTypes[i]);
@@ -25,7 +27,8 @@
ctx.fillStyle = '#00f';
ctx.fillRect(40, 40, 20, 20);
}
+ if (window.testRunner)
+ testRunner.notifyDone();
}
-
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698