Index: LayoutTests/fast/canvas/canvas-lineDash-input-sequence-expected.txt |
diff --git a/LayoutTests/fast/canvas/canvas-lineDash-input-sequence-expected.txt b/LayoutTests/fast/canvas/canvas-lineDash-input-sequence-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..731d899a4d5a0c3ea577678506fe5ca3f8fb55da |
--- /dev/null |
+++ b/LayoutTests/fast/canvas/canvas-lineDash-input-sequence-expected.txt |
@@ -0,0 +1,69 @@ |
+Test that setLineDash converts input argument into a Web IDL sequence |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+* Test passing a Array as input. |
+PASS lineDash[0] is 5 |
+PASS lineDash[1] is 15 |
+PASS lineDash[2] is 25 |
+* Test passing a Int8Array as input. |
+PASS lineDash[0] is 5 |
+PASS lineDash[1] is 15 |
+PASS lineDash[2] is 25 |
+* Test passing a Int16Array as input. |
+PASS lineDash[0] is 5 |
+PASS lineDash[1] is 15 |
+PASS lineDash[2] is 25 |
+* Test passing a Int32Array as input. |
+PASS lineDash[0] is 5 |
+PASS lineDash[1] is 15 |
+PASS lineDash[2] is 25 |
+* Test passing a Uint8Array as input. |
+PASS lineDash[0] is 5 |
+PASS lineDash[1] is 15 |
+PASS lineDash[2] is 25 |
+* Test passing a Uint16Array as input. |
+PASS lineDash[0] is 5 |
+PASS lineDash[1] is 15 |
+PASS lineDash[2] is 25 |
+* Test passing a Uint32Array as input. |
+PASS lineDash[0] is 5 |
+PASS lineDash[1] is 15 |
+PASS lineDash[2] is 25 |
+* Test passing a Float32Array as input. |
+PASS lineDash[0] is 5 |
+PASS lineDash[1] is 15 |
+PASS lineDash[2] is 25 |
+* Test passing a Float64Array as input. |
+PASS lineDash[0] is 5 |
+PASS lineDash[1] is 15 |
+PASS lineDash[2] is 25 |
+* Test passing a Uint8ClampedArray as input. |
+PASS lineDash[0] is 5 |
+PASS lineDash[1] is 15 |
+PASS lineDash[2] is 25 |
+* Test passing a Object as input. |
+PASS lineDash[0] is 5 |
+PASS lineDash[1] is 15 |
+PASS lineDash[2] is 25 |
+* Test passing a Date as input. |
+PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error. |
+* Test passing a RegExp as input. |
+PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error. |
+* Test passing an Object without length as input. |
+PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error. |
+* Test passing a Number as input. |
+PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error. |
+* Test passing a String as input. |
+PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error. |
+* Test passing a Boolean as input. |
+PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error. |
+* Test passing null as input. |
+PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error. |
+* Test passing undefined as input. |
+PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error. |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |