OLD | NEW |
(Empty) | |
| 1 Series of tests to ensure correct results of scrolling path into view on canvas |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 Test case 1: scrollPathIntoView(); |
| 7 PASS testValue is 100 |
| 8 PASS testValue is 600 |
| 9 PASS testValue is 600 |
| 10 PASS testValue is 1100 |
| 11 PASS testValue is 600 |
| 12 |
| 13 Test case 2: scrollPathIntoView(path); |
| 14 PASS testValue is 100 |
| 15 PASS testValue is 600 |
| 16 PASS testValue is 600 |
| 17 PASS testValue is 1100 |
| 18 PASS testValue is 600 |
| 19 |
| 20 Test case 3: exceptions |
| 21 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.. |
| 22 PASS context.scrollPathIntoView([]); threw exception TypeError: Failed to execut
e 'scrollPathIntoView' on 'CanvasRenderingContext2D': No function was found that
matched the signature provided.. |
| 23 PASS context.scrollPathIntoView({}); threw exception TypeError: Failed to execut
e 'scrollPathIntoView' on 'CanvasRenderingContext2D': No function was found that
matched the signature provided.. |
| 24 |
| 25 PASS successfullyParsed is true |
| 26 |
| 27 TEST COMPLETE |
| 28 |
OLD | NEW |