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

Unified Diff: LayoutTests/fast/canvas/canvas-currentTransform-expected.txt

Issue 289283002: Add some layout tests about behavior on undefined and null. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 7 months 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/canvas-currentTransform-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-currentTransform-expected.txt b/LayoutTests/fast/canvas/canvas-currentTransform-expected.txt
index 55ab153c358ab2d60228d69aef4abf39d6c1ea91..2f6d08bb47d63c8326fbd824714d01935eba9632 100644
--- a/LayoutTests/fast/canvas/canvas-currentTransform-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-currentTransform-expected.txt
@@ -115,6 +115,8 @@ PASS imgdata[5] is 0
PASS imgdata[6] is 255
Check assigning an invalid object throws exception as expected
PASS ctx.currentTransform = ctx threw exception TypeError: Failed to set the 'currentTransform' property on 'CanvasRenderingContext2D': The provided value is not of type 'SVGMatrix'..
+PASS ctx.currentTransform = undefined threw exception TypeError: Failed to set the 'currentTransform' property on 'CanvasRenderingContext2D': The provided value is not of type 'SVGMatrix'..
+PASS ctx.currentTransform = null threw exception TypeError: Failed to set the 'currentTransform' property on 'CanvasRenderingContext2D': The provided value is not of type 'SVGMatrix'..
Check handling non-finite values. see 2d.transformation.setTransform.nonfinite.html
PASS matrix.a is 1
PASS matrix.b is 0

Powered by Google App Engine
This is Rietveld 408576698