Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-lineDash-input-sequence-expected.txt

Issue 2681423002: Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. (Closed)
Patch Set: Adding exceptions to TestExpectations Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 Test that setLineDash converts input argument into a Web IDL sequence
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 * Test passing a Array as input.
7 PASS lineDash[0] is 5
8 PASS lineDash[1] is 15
9 PASS lineDash[2] is 25
10 * Test passing a Int8Array as input.
11 PASS lineDash[0] is 5
12 PASS lineDash[1] is 15
13 PASS lineDash[2] is 25
14 * Test passing a Int16Array as input.
15 PASS lineDash[0] is 5
16 PASS lineDash[1] is 15
17 PASS lineDash[2] is 25
18 * Test passing a Int32Array as input.
19 PASS lineDash[0] is 5
20 PASS lineDash[1] is 15
21 PASS lineDash[2] is 25
22 * Test passing a Uint8Array as input.
23 PASS lineDash[0] is 5
24 PASS lineDash[1] is 15
25 PASS lineDash[2] is 25
26 * Test passing a Uint16Array as input.
27 PASS lineDash[0] is 5
28 PASS lineDash[1] is 15
29 PASS lineDash[2] is 25
30 * Test passing a Uint32Array as input.
31 PASS lineDash[0] is 5
32 PASS lineDash[1] is 15
33 PASS lineDash[2] is 25
34 * Test passing a Float32Array as input.
35 PASS lineDash[0] is 5
36 PASS lineDash[1] is 15
37 PASS lineDash[2] is 25
38 * Test passing a Float64Array as input.
39 PASS lineDash[0] is 5
40 PASS lineDash[1] is 15
41 PASS lineDash[2] is 25
42 * Test passing a Uint8ClampedArray as input.
43 PASS lineDash[0] is 5
44 PASS lineDash[1] is 15
45 PASS lineDash[2] is 25
46 * Test passing a Object as input.
47 PASS lineDash[0] is 5
48 PASS lineDash[1] is 15
49 PASS lineDash[2] is 25
50 * Test passing a Date as input.
51 PASS ctx.setLineDash(inputArray) threw exception TypeError: Failed to execute 's etLineDash' on 'CanvasRenderingContext2D': The 1st argument is neither an array, nor does it have indexed properties..
52 * Test passing a RegExp as input.
53 PASS ctx.setLineDash(inputArray) threw exception TypeError: Failed to execute 's etLineDash' on 'CanvasRenderingContext2D': The 1st argument is neither an array, nor does it have indexed properties..
54 * Test passing an Object without length as input.
55 PASS ctx.setLineDash(inputArray) threw exception TypeError: Failed to execute 's etLineDash' on 'CanvasRenderingContext2D': The 1st argument is neither an array, nor does it have indexed properties..
56 * Test passing a Number as input.
57 PASS ctx.setLineDash(inputArray) threw exception TypeError: Failed to execute 's etLineDash' on 'CanvasRenderingContext2D': The 1st argument is neither an array, nor does it have indexed properties..
58 * Test passing a String as input.
59 PASS ctx.setLineDash(inputArray) threw exception TypeError: Failed to execute 's etLineDash' on 'CanvasRenderingContext2D': The 1st argument is neither an array, nor does it have indexed properties..
60 * Test passing a Boolean as input.
61 PASS ctx.setLineDash(inputArray) threw exception TypeError: Failed to execute 's etLineDash' on 'CanvasRenderingContext2D': The 1st argument is neither an array, nor does it have indexed properties..
62 * Test passing null as input.
63 PASS ctx.setLineDash(inputArray) threw exception TypeError: Failed to execute 's etLineDash' on 'CanvasRenderingContext2D': The 1st argument is neither an array, nor does it have indexed properties..
64 * Test passing undefined as input.
65 PASS ctx.setLineDash(inputArray) threw exception TypeError: Failed to execute 's etLineDash' on 'CanvasRenderingContext2D': The 1st argument is neither an array, nor does it have indexed properties..
66 PASS successfullyParsed is true
67
68 TEST COMPLETE
69
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698