| Index: third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-out-of-bounds-src.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-out-of-bounds-src.html b/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-out-of-bounds-src.html
|
| index a307dd8ad45a63619fc73c6ecd7452afdb8e2122..f5935cc146f7705b13029d77d6c582a7a20626e7 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-out-of-bounds-src.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-out-of-bounds-src.html
|
| @@ -34,10 +34,10 @@ var ctx3 = canvas3.getContext('2d');
|
| var ctx4 = canvas4.getContext('2d');
|
|
|
| function imageLoaded() {
|
| - createImageBitmap(img).then(imageBitmapCallback(ctx1), shouldNotBeCalled);
|
| - createImageBitmap(img, -50, -50, 100, 100).then(imageBitmapCallback(ctx2), shouldNotBeCalled);
|
| - createImageBitmap(img, 50, 50, 100, 100).then(imageBitmapCallback(ctx3), shouldNotBeCalled);
|
| - createImageBitmap(img, -100, -100, 300, 300).then(imageBitmapCallback(ctx4), shouldNotBeCalled);
|
| + createImageBitmap(img, {colorSpaceConversion: "none"}).then(imageBitmapCallback(ctx1), shouldNotBeCalled);
|
| + createImageBitmap(img, -50, -50, 100, 100, {colorSpaceConversion: "none"}).then(imageBitmapCallback(ctx2), shouldNotBeCalled);
|
| + createImageBitmap(img, 50, 50, 100, 100, {colorSpaceConversion: "none"}).then(imageBitmapCallback(ctx3), shouldNotBeCalled);
|
| + createImageBitmap(img, -100, -100, 300, 300, {colorSpaceConversion: "none"}).then(imageBitmapCallback(ctx4), shouldNotBeCalled);
|
| }
|
|
|
| var pending = 0;
|
| @@ -61,4 +61,4 @@ function imageBitmapCallback(ctx) {
|
| }
|
|
|
| </script>
|
| -</body></html>
|
| +</body></html>
|
|
|