Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: LayoutTests/fast/canvas/script-tests/canvas-currentTransform.js

Issue 36843003: Improve remaining TypeErrors in bindings code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: vibration. Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 71b294cf71f650bb17b2861cdc682b26be35f0fb..c34ff1f3ec3dc941abf5540cda0c6ccb896f7860 100644
--- a/LayoutTests/fast/canvas/script-tests/canvas-currentTransform.js
+++ b/LayoutTests/fast/canvas/script-tests/canvas-currentTransform.js
@@ -174,7 +174,7 @@ shouldBe("imgdata[5]", "0");
shouldBe("imgdata[6]", "255");
debug("Check assigning an invalid object throws exception as expected");
-shouldThrow("ctx.currentTransform = ctx", "'TypeError: Type error'");
+shouldThrow("ctx.currentTransform = ctx", '"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';

Powered by Google App Engine
This is Rietveld 408576698