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

Unified Diff: LayoutTests/fast/canvas/canvas-incremental-repaint.html

Issue 196353013: Convert some repaint tests to not call display() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More expectations, remove do-not-repaint tricky test 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-incremental-repaint.html
diff --git a/LayoutTests/fast/canvas/canvas-incremental-repaint.html b/LayoutTests/fast/canvas/canvas-incremental-repaint.html
index d65c79f7e453ceb5c315af6e95108a2543d414f7..7e64d2e7678e098d8cd86c33c7be241c4f836779 100644
--- a/LayoutTests/fast/canvas/canvas-incremental-repaint.html
+++ b/LayoutTests/fast/canvas/canvas-incremental-repaint.html
@@ -10,25 +10,14 @@
border: 20px solid black;
}
</style>
+ <script src="resources/repaint.js"></script>
<script type="text/javascript" charset="utf-8">
if (window.testRunner) {
testRunner.dumpAsTextWithPixelResults();
- testRunner.waitUntilDone();
}
var appleImage;
- function runRepaintTest()
- {
- if (window.testRunner) {
- document.body.offsetTop;
- testRunner.display();
- repaintTest();
- testRunner.notifyDone();
- } else {
- setTimeout(repaintTest, 0);
- }
- }
function initializeCanvas()
{

Powered by Google App Engine
This is Rietveld 408576698