diff options
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-currentTransform.js')
-rw-r--r-- | third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-currentTransform.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-currentTransform.js b/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-currentTransform.js index c34ff1f..74ba2e1 100644 --- a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-currentTransform.js +++ b/third_party/WebKit/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'; |