Index: third_party/WebKit/LayoutTests/media/video-canvas.html-disabled |
diff --git a/third_party/WebKit/LayoutTests/media/video-canvas.html-disabled b/third_party/WebKit/LayoutTests/media/video-canvas.html-disabled |
index 8dce0cedd762a6d6b5796d9656c810b706046889..31ea5f4bab22a849154e66d58ba52bceeccde5dc 100644 |
--- a/third_party/WebKit/LayoutTests/media/video-canvas.html-disabled |
+++ b/third_party/WebKit/LayoutTests/media/video-canvas.html-disabled |
@@ -1,6 +1,8 @@ |
<html> |
<head> |
<title>drawing <video> to <canvas></title> |
+ <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
+ (Please avoid writing new tests using video-test.js) --> |
<script src=../http/tests/media/video-test.js></script> |
<script> |
@@ -23,7 +25,7 @@ |
function testPixel() |
{ |
var expected = results.values[results.current]; |
- if (expected.time) |
+ if (expected.time) |
ctx.drawImage(video, 0, 0, width, height); |
var frame = ctx.getImageData(0, 0, width, height); |
@@ -46,7 +48,7 @@ |
video.pause(); |
consoleWrite(""); |
var expected = results.values[results.current]; |
- if (expected.time) |
+ if (expected.time) |
run("video.currentTime = " + expected.time); |
setTimeout(testPixel, 100); |
} |
@@ -57,7 +59,7 @@ |
height = video.videoHeight / 2; |
ctx = canvas.getContext("2d"); |
- ctx.fillStyle = 'yellow'; |
+ ctx.fillStyle = 'yellow'; |
ctx.fillRect(0, 0, width, height); |
testFrame(); |
} |
@@ -80,6 +82,6 @@ |
</div> |
<p>Test <video> as a source for <canvas>.</p> |
- |
+ |
</body> |
</html> |