summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/canvas/canvas-lineDash-input-sequence-expected.txt
blob: f316f8c89eb0171021788d9bfe589124e00f4b2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
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: Failed to execute 'setLineDash' on 'CanvasRenderingContext2D': The 1st argument is neither an array, nor does it have indexed properties..
* Test passing a RegExp as input.
PASS ctx.setLineDash(inputArray) threw exception TypeError: Failed to execute 'setLineDash' on 'CanvasRenderingContext2D': The 1st argument is neither an array, nor does it have indexed properties..
* Test passing an Object without length as input.
PASS ctx.setLineDash(inputArray) threw exception TypeError: Failed to execute 'setLineDash' on 'CanvasRenderingContext2D': The 1st argument is neither an array, nor does it have indexed properties..
* Test passing a Number as input.
PASS ctx.setLineDash(inputArray) threw exception TypeError: Failed to execute 'setLineDash' on 'CanvasRenderingContext2D': The 1st argument is neither an array, nor does it have indexed properties..
* Test passing a String as input.
PASS ctx.setLineDash(inputArray) threw exception TypeError: Failed to execute 'setLineDash' on 'CanvasRenderingContext2D': The 1st argument is neither an array, nor does it have indexed properties..
* Test passing a Boolean as input.
PASS ctx.setLineDash(inputArray) threw exception TypeError: Failed to execute 'setLineDash' on 'CanvasRenderingContext2D': The 1st argument is neither an array, nor does it have indexed properties..
* Test passing null as input.
PASS ctx.setLineDash(inputArray) threw exception TypeError: Failed to execute 'setLineDash' on 'CanvasRenderingContext2D': The 1st argument is neither an array, nor does it have indexed properties..
* Test passing undefined as input.
PASS ctx.setLineDash(inputArray) threw exception TypeError: Failed to execute 'setLineDash' on 'CanvasRenderingContext2D': The 1st argument is neither an array, nor does it have indexed properties..
PASS successfullyParsed is true

TEST COMPLETE