| Index: third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-drawImage-video.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-drawImage-video.html b/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-drawImage-video.html
|
| index 2f946e936f838a244f9deeb6012274a0d8cffb65..92beba443a4b64180bc74165badff5c67d8f7e96 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-drawImage-video.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-drawImage-video.html
|
| @@ -27,16 +27,16 @@ function shouldBeType(expression, className)
|
|
|
| function shouldBeOpaque(x, y) {
|
| d = ctx.getImageData(x, y, 1, 1).data;
|
| - shouldBeTrue("d[3] == 255");
|
| + shouldBe("d[3]", "255");
|
| }
|
|
|
| function shouldBeClear(x, y) {
|
| // should be transparent black pixels
|
| d = ctx.getImageData(x, y, 1, 1).data;
|
| - shouldBeTrue("d[0] == 0");
|
| - shouldBeTrue("d[1] == 0");
|
| - shouldBeTrue("d[2] == 0");
|
| - shouldBeTrue("d[3] == 0");
|
| + shouldBe("d[0]", "0");
|
| + shouldBe("d[1]", "0");
|
| + shouldBe("d[2]", "0");
|
| + shouldBe("d[3]", "0");
|
| }
|
|
|
| function clearContext() {
|
|
|