Index: LayoutTests/fast/canvas/canvas-scroll-path-into-view-expected.txt |
diff --git a/LayoutTests/fast/canvas/canvas-scroll-path-into-view-expected.txt b/LayoutTests/fast/canvas/canvas-scroll-path-into-view-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3e80f05ad74631a9330bdfdbbd9b8e951d32e7e8 |
--- /dev/null |
+++ b/LayoutTests/fast/canvas/canvas-scroll-path-into-view-expected.txt |
@@ -0,0 +1,28 @@ |
+Series of tests to ensure correct results of scrolling path into view on canvas |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+Test case 1: scrollPathIntoView(); |
+PASS testValue is 100 |
+PASS testValue is 600 |
+PASS testValue is 600 |
+PASS testValue is 1100 |
+PASS testValue is 600 |
+ |
+Test case 2: scrollPathIntoView(path); |
+PASS testValue is 100 |
+PASS testValue is 600 |
+PASS testValue is 600 |
+PASS testValue is 1100 |
+PASS testValue is 600 |
+ |
+Test case 3: exceptions |
+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.. |
+PASS context.scrollPathIntoView([]); threw exception TypeError: Failed to execute 'scrollPathIntoView' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.. |
+PASS context.scrollPathIntoView({}); threw exception TypeError: Failed to execute 'scrollPathIntoView' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.. |
+ |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |