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

Side by Side Diff: LayoutTests/fast/canvas/canvas-scroll-path-into-view-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 results of scrolling path into view on canvas 1 Series of tests to ensure correct results of scrolling path into view on canvas
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 Test case 1: scrollPathIntoView() / CTM == identity 6 Test case 1: scrollPathIntoView() / CTM == identity
7 PASS testValue is 150 7 PASS testValue is 150
8 PASS testValue is 650 8 PASS testValue is 650
9 PASS testValue is 650 9 PASS testValue is 650
10 PASS testValue is 1150 10 PASS testValue is 1150
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 PASS testValue is 1133 86 PASS testValue is 1133
87 PASS testValue is 633 87 PASS testValue is 633
88 PASS testValue is 160 88 PASS testValue is 160
89 PASS testValue is 660 89 PASS testValue is 660
90 PASS testValue is 660 90 PASS testValue is 660
91 PASS testValue is 1160 91 PASS testValue is 1160
92 PASS testValue is 660 92 PASS testValue is 660
93 93
94 Test case 5: exceptions 94 Test case 5: exceptions
95 PASS context.scrollPathIntoView(null); threw exception TypeError: Failed to exec ute 'scrollPathIntoView' on 'CanvasRenderingContext2D': parameter 1 is not of ty pe 'Path2D'.. 95 PASS context.scrollPathIntoView(null); threw exception TypeError: Failed to exec ute 'scrollPathIntoView' on 'CanvasRenderingContext2D': parameter 1 is not of ty pe 'Path2D'..
96 PASS context.scrollPathIntoView(undefined); threw exception TypeError: Failed to execute 'scrollPathIntoView' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
96 PASS context.scrollPathIntoView([]); threw exception TypeError: Failed to execut e 'scrollPathIntoView' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'.. 97 PASS context.scrollPathIntoView([]); threw exception TypeError: Failed to execut e 'scrollPathIntoView' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
97 PASS context.scrollPathIntoView({}); threw exception TypeError: Failed to execut e 'scrollPathIntoView' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'.. 98 PASS context.scrollPathIntoView({}); threw exception TypeError: Failed to execut e 'scrollPathIntoView' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
98 99
99 PASS successfullyParsed is true 100 PASS successfullyParsed is true
100 101
101 TEST COMPLETE 102 TEST COMPLETE
102 103
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/canvas-putImageData-expected.txt ('k') | LayoutTests/fast/canvas/drawImage-with-broken-image.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698