| Index: LayoutTests/fast/canvas/script-tests/canvas-currentTransform.js
|
| diff --git a/LayoutTests/fast/canvas/script-tests/canvas-currentTransform.js b/LayoutTests/fast/canvas/script-tests/canvas-currentTransform.js
|
| index c34ff1f3ec3dc941abf5540cda0c6ccb896f7860..74ba2e1f4625e1e7472150e8fcc35dded74f638a 100644
|
| --- a/LayoutTests/fast/canvas/script-tests/canvas-currentTransform.js
|
| +++ b/LayoutTests/fast/canvas/script-tests/canvas-currentTransform.js
|
| @@ -175,6 +175,8 @@ shouldBe("imgdata[6]", "255");
|
|
|
| debug("Check assigning an invalid object throws exception as expected");
|
| shouldThrow("ctx.currentTransform = ctx", '"TypeError: Failed to set the \'currentTransform\' property on \'CanvasRenderingContext2D\': The provided value is not of type \'SVGMatrix\'."');
|
| +shouldThrow("ctx.currentTransform = undefined", '"TypeError: Failed to set the \'currentTransform\' property on \'CanvasRenderingContext2D\': The provided value is not of type \'SVGMatrix\'."');
|
| +shouldThrow("ctx.currentTransform = null", '"TypeError: Failed to set the \'currentTransform\' property on \'CanvasRenderingContext2D\': The provided value is not of type \'SVGMatrix\'."');
|
|
|
| debug("Check handling non-finite values. see 2d.transformation.setTransform.nonfinite.html");
|
| ctx.fillStyle = 'red';
|
|
|