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

Unified Diff: LayoutTests/fast/canvas/canvas-as-image-incremental-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-as-image-incremental-repaint.html
diff --git a/LayoutTests/fast/canvas/canvas-as-image-incremental-repaint.html b/LayoutTests/fast/canvas/canvas-as-image-incremental-repaint.html
index ae2be134023a585751d951d45aceae0c8482b828..85b81b3874f63c3bf212adab47537375bd9306b8 100644
--- a/LayoutTests/fast/canvas/canvas-as-image-incremental-repaint.html
+++ b/LayoutTests/fast/canvas/canvas-as-image-incremental-repaint.html
@@ -8,8 +8,12 @@
content: -webkit-canvas(squares);
}
</style>
- <script src="resources/repaint.js"></script>
+ <script src="../../resources/run-after-display.js"></script>
<script type="application/x-javascript">
+ if (window.testRunner) {
+ testRunner.dumpAsTextWithPixelResults();
+ testRunner.waitUntilDone();
+ }
function repaintTest()
{
var ctx = document.getCSSCanvasContext("2d", "squares", 300, 300);
@@ -19,10 +23,12 @@
ctx.fillStyle = "rgba(0, 0, 200, 0.5)";
ctx.fillRect (50, 50, 100, 100);
+ if (window.testRunner)
+ testRunner.notifyDone();
}
</script>
</head>
-<body onload="runRepaintTest()">
+<body onload="runAfterDisplay(repaintTest)">
<div></div>
</body>
</html>
« no previous file with comments | « LayoutTests/compositing/repaint/shrink-layer.html ('k') | LayoutTests/fast/canvas/canvas-composite-fill-repaint.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698