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

Side by Side Diff: LayoutTests/fast/canvas/canvas-scroll-path-into-view-expected.txt

Issue 234903003: Should throw TypeError instead of TypeMismatchError (canvas) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 PASS testValue is 633 85 PASS testValue is 633
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 TypeMismatchError: Failed to execute 'scrollPathIntoView' on 'CanvasRenderingContext2D': The 1st argument provided is either null, or an invalid Path2D object.. 95 PASS context.scrollPathIntoView(null); threw exception TypeError: Failed to exec ute 'scrollPathIntoView' on 'CanvasRenderingContext2D': The 1st argument provide d is either null, or an invalid Path2D object..
96 PASS context.scrollPathIntoView([]); threw exception TypeError: Failed to execut e 'scrollPathIntoView' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.. 96 PASS context.scrollPathIntoView([]); threw exception TypeError: Failed to execut e 'scrollPathIntoView' on 'CanvasRenderingContext2D': No function was found that matched the signature provided..
97 PASS context.scrollPathIntoView({}); threw exception TypeError: Failed to execut e 'scrollPathIntoView' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.. 97 PASS context.scrollPathIntoView({}); threw exception TypeError: Failed to execut e 'scrollPathIntoView' on 'CanvasRenderingContext2D': No function was found that matched the signature provided..
98 98
99 PASS successfullyParsed is true 99 PASS successfullyParsed is true
100 100
101 TEST COMPLETE 101 TEST COMPLETE
102 102
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698