Index: LayoutTests/virtual/gpu/fast/canvas/canvas-path-context-stroke-expected.txt |
diff --git a/LayoutTests/virtual/gpu/fast/canvas/canvas-path-context-stroke-expected.txt b/LayoutTests/virtual/gpu/fast/canvas/canvas-path-context-stroke-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cd71511971080412c7a4b042c5aaf577e1fe2e8e |
--- /dev/null |
+++ b/LayoutTests/virtual/gpu/fast/canvas/canvas-path-context-stroke-expected.txt |
@@ -0,0 +1,22 @@ |
+Series of tests to ensure stroke() works with optional path parameter. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+Testing stroke() |
+ |
+PASS pixelDataAtPoint()[0] is within 5 of 0 |
+PASS pixelDataAtPoint()[1] is within 5 of 255 |
+PASS pixelDataAtPoint()[2] is within 5 of 0 |
+PASS pixelDataAtPoint()[3] is within 5 of 255 |
+Testing stroke(path) |
+ |
+PASS pixelDataAtPoint()[0] is within 5 of 0 |
+PASS pixelDataAtPoint()[1] is within 5 of 255 |
+PASS pixelDataAtPoint()[2] is within 5 of 0 |
+PASS pixelDataAtPoint()[3] is within 5 of 255 |
+PASS ctx.stroke(null) threw exception TypeError: Failed to execute 'stroke' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.. |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |