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

Side by Side 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 unified diff | Download patch
OLDNEW
1 Series of tests to ensure correct behaviour of canvas.currentTransform 1 Series of tests to ensure correct behaviour of canvas.currentTransform
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 Check initial currentTransform values 6 Check initial currentTransform values
7 PASS matrix.a is 1 7 PASS matrix.a is 1
8 PASS matrix.b is 0 8 PASS matrix.b is 0
9 PASS matrix.c is 0 9 PASS matrix.c is 0
10 PASS matrix.d is 1 10 PASS matrix.d is 1
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 PASS matrix.b is 0 108 PASS matrix.b is 0
109 PASS matrix.c is 0 109 PASS matrix.c is 0
110 PASS matrix.d is 1 110 PASS matrix.d is 1
111 PASS matrix.e is 0 111 PASS matrix.e is 0
112 PASS matrix.f is 0 112 PASS matrix.f is 0
113 PASS imgdata[4] is 0 113 PASS imgdata[4] is 0
114 PASS imgdata[5] is 0 114 PASS imgdata[5] is 0
115 PASS imgdata[6] is 255 115 PASS imgdata[6] is 255
116 Check assigning an invalid object throws exception as expected 116 Check assigning an invalid object throws exception as expected
117 PASS ctx.currentTransform = ctx threw exception TypeError: Failed to set the 'cu rrentTransform' property on 'CanvasRenderingContext2D': The provided value is no t of type 'SVGMatrix'.. 117 PASS ctx.currentTransform = ctx threw exception TypeError: Failed to set the 'cu rrentTransform' property on 'CanvasRenderingContext2D': The provided value is no t of type 'SVGMatrix'..
118 PASS ctx.currentTransform = undefined threw exception TypeError: Failed to set t he 'currentTransform' property on 'CanvasRenderingContext2D': The provided value is not of type 'SVGMatrix'..
119 PASS ctx.currentTransform = null threw exception TypeError: Failed to set the 'c urrentTransform' property on 'CanvasRenderingContext2D': The provided value is n ot of type 'SVGMatrix'..
118 Check handling non-finite values. see 2d.transformation.setTransform.nonfinite.h tml 120 Check handling non-finite values. see 2d.transformation.setTransform.nonfinite.h tml
119 PASS matrix.a is 1 121 PASS matrix.a is 1
120 PASS matrix.b is 0 122 PASS matrix.b is 0
121 PASS matrix.c is 0 123 PASS matrix.c is 0
122 PASS matrix.d is 1 124 PASS matrix.d is 1
123 PASS matrix.e is 100 125 PASS matrix.e is 100
124 PASS matrix.f is 10 126 PASS matrix.f is 10
125 PASS matrix.a is 1 127 PASS matrix.a is 1
126 PASS matrix.b is 0 128 PASS matrix.b is 0
127 PASS matrix.c is 0 129 PASS matrix.c is 0
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 PASS matrix.d is 1 580 PASS matrix.d is 1
579 PASS matrix.e is 100 581 PASS matrix.e is 100
580 PASS matrix.f is 10 582 PASS matrix.f is 10
581 PASS imgdata[4] is 0 583 PASS imgdata[4] is 0
582 PASS imgdata[5] is 128 584 PASS imgdata[5] is 128
583 PASS imgdata[6] is 0 585 PASS imgdata[6] is 0
584 PASS successfullyParsed is true 586 PASS successfullyParsed is true
585 587
586 TEST COMPLETE 588 TEST COMPLETE
587 589
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698