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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/FileAPI/blob/Blob-constructor-expected.txt

Issue 2810843002: bindings: Make the sequence conversion code more complaint with WebIDL. (Closed)
Patch Set: Adjust even more tests Created 3 years, 8 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
1 This is a testharness.js-based test. 1 This is a testharness.js-based test.
2 Found 61 tests; 54 PASS, 7 FAIL, 0 TIMEOUT, 0 NOTRUN. 2 Found 61 tests; 57 PASS, 4 FAIL, 0 TIMEOUT, 0 NOTRUN.
3 PASS Blob interface object 3 PASS Blob interface object
4 PASS Blob constructor with no arguments 4 PASS Blob constructor with no arguments
5 PASS Blob constructor with no arguments, without 'new' 5 PASS Blob constructor with no arguments, without 'new'
6 PASS Blob constructor without brackets 6 PASS Blob constructor without brackets
7 PASS Blob constructor with undefined as first argument 7 PASS Blob constructor with undefined as first argument
8 FAIL Passing non-objects, Dates and RegExps for blobParts should throw a TypeErr or. assert_throws: Should throw for argument object "[object Object]". function "function () { 8 PASS Passing non-objects, Dates and RegExps for blobParts should throw a TypeErr or.
9 new Blob(arg); 9 PASS A plain object with @@iterator should be treated as a sequence for the blob Parts argument.
10 }" did not throw
11 FAIL A plain object with @@iterator should be treated as a sequence for the blob Parts argument. Failed to construct 'Blob': The 1st argument is neither an array , nor does it have indexed properties.
12 PASS A plain object with @@iterator and a length property should be treated as a sequence for the blobParts argument. 10 PASS A plain object with @@iterator and a length property should be treated as a sequence for the blobParts argument.
13 PASS A String object should be treated as a sequence for the blobParts argument. 11 PASS A String object should be treated as a sequence for the blobParts argument.
14 PASS A Uint8Array object should be treated as a sequence for the blobParts argum ent. 12 PASS A Uint8Array object should be treated as a sequence for the blobParts argum ent.
15 PASS The length getter should be invoked and any exceptions should be propagated . 13 PASS The length getter should be invoked and any exceptions should be propagated .
16 PASS A platform object that supports indexed properties should be treated as a s equence for the blobParts argument (overwritten 'length'.) 14 PASS A platform object that supports indexed properties should be treated as a s equence for the blobParts argument (overwritten 'length'.)
17 PASS ToUint32 should be applied to the length and any exceptions should be propa gated. 15 PASS ToUint32 should be applied to the length and any exceptions should be propa gated.
18 FAIL Getters and value conversions should happen in order until an exception is thrown. assert_array_equals: lengths differ, expected 8 got 5 16 PASS Getters and value conversions should happen in order until an exception is thrown.
19 PASS ToString should be called on elements of the blobParts array and any except ions should be propagated. 17 PASS ToString should be called on elements of the blobParts array and any except ions should be propagated.
20 FAIL Changes to the blobParts array should be reflected in the returned Blob (po p). assert_equals: expected 4 but got 13 18 FAIL Changes to the blobParts array should be reflected in the returned Blob (po p). assert_equals: expected 4 but got 13
21 FAIL Changes to the blobParts array should be reflected in the returned Blob (un shift). assert_equals: expected 4 but got 2 19 FAIL Changes to the blobParts array should be reflected in the returned Blob (un shift). assert_equals: expected 4 but got 2
22 PASS ToString should be called on elements of the blobParts array. 20 PASS ToString should be called on elements of the blobParts array.
23 PASS ArrayBuffer elements of the blobParts array should be supported. 21 PASS ArrayBuffer elements of the blobParts array should be supported.
24 PASS Passing typed arrays as elements of the blobParts array should work. 22 PASS Passing typed arrays as elements of the blobParts array should work.
25 PASS Passing a Float64Array as element of the blobParts array should work. 23 PASS Passing a Float64Array as element of the blobParts array should work.
26 PASS Passing an platform object that supports indexed properties as the blobPart s array should work (select). 24 PASS Passing an platform object that supports indexed properties as the blobPart s array should work (select).
27 PASS Passing an platform object that supports indexed properties as the blobPart s array should work (attributes). 25 PASS Passing an platform object that supports indexed properties as the blobPart s array should work (attributes).
28 PASS Passing a FrozenArray as the blobParts array should work (FrozenArray<Messa gePort>). 26 PASS Passing a FrozenArray as the blobParts array should work (FrozenArray<Messa gePort>).
(...skipping 29 matching lines...) Expand all
58 PASS Blob with type "\timage/gif\t" 56 PASS Blob with type "\timage/gif\t"
59 PASS Blob with type "image/gif;" 57 PASS Blob with type "image/gif;"
60 PASS Blob with type "İmage/gif" 58 PASS Blob with type "İmage/gif"
61 PASS Blob with type "ımage/gif" 59 PASS Blob with type "ımage/gif"
62 PASS Blob with type "image/gif\0" 60 PASS Blob with type "image/gif\0"
63 PASS Blob with type "unknown/unknown" 61 PASS Blob with type "unknown/unknown"
64 PASS Blob with type "text/plain" 62 PASS Blob with type "text/plain"
65 PASS Blob with type "image/png" 63 PASS Blob with type "image/png"
66 Harness: the test ran to completion. 64 Harness: the test ran to completion.
67 65
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698