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

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

Issue 19969004: Update toNativeArray() / toRefPtrNativeArray() do not match Web IDL specification (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix nits Created 7 years, 5 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 | Annotate | Revision Log
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: Type error.
52 * Test passing a RegExp as input.
53 PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
54 * Test passing an Object without length as input.
55 PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
56 * Test passing a Number as input.
57 PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
58 * Test passing a String as input.
59 PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
60 * Test passing a Boolean as input.
61 PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
62 * Test passing null as input.
63 PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
64 * Test passing undefined as input.
65 PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
66 PASS successfullyParsed is true
67
68 TEST COMPLETE
69
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/canvas-lineDash-input-sequence.html ('k') | Source/bindings/scripts/deprecated_code_generator_v8.pm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698