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

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

Issue 1362963003: Blob/File constructors/slice method shouldn't throw on invalid types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated win expectation Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/wpt/FileAPI/blob/Blob-slice-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 This is a testharness.js-based test. 1 This is a testharness.js-based test.
2 Found 61 tests; 50 PASS, 11 FAIL, 0 TIMEOUT, 0 NOTRUN. 2 Found 61 tests; 54 PASS, 7 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 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 () {
9 new Blob(arg); 9 new Blob(arg);
10 }" did not throw 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. 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. 12 PASS A plain object with @@iterator and a length property should be treated as a sequence for the blobParts argument.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 PASS Passing object "/regex/" (index 4) for options should use the defaults (wit h newlines). 45 PASS Passing object "/regex/" (index 4) for options should use the defaults (wit h newlines).
46 PASS Passing function "function () {}" (index 5) for options should use the defa ults. 46 PASS Passing function "function () {}" (index 5) for options should use the defa ults.
47 PASS Passing function "function () {}" (index 5) for options should use the defa ults (with newlines). 47 PASS Passing function "function () {}" (index 5) for options should use the defa ults (with newlines).
48 PASS Newlines should not change when endings is 'transparent'. 48 PASS Newlines should not change when endings is 'transparent'.
49 FAIL Newlines should not change when endings is 'native'. assert_equals: expecte d 9 but got 8 49 FAIL Newlines should not change when endings is 'native'. assert_equals: expecte d 9 but got 8
50 PASS Blob with type "" 50 PASS Blob with type ""
51 PASS Blob with type "a" 51 PASS Blob with type "a"
52 PASS Blob with type "A" 52 PASS Blob with type "A"
53 PASS Blob with type "text/html" 53 PASS Blob with type "text/html"
54 PASS Blob with type "TEXT/HTML" 54 PASS Blob with type "TEXT/HTML"
55 FAIL Blob with type "å" Failed to construct 'Blob': The 'type' property must con sist of ASCII characters. 55 PASS Blob with type "å"
56 FAIL Blob with type "𐑾" Failed to construct 'Blob': The 'type' property must con sist of ASCII characters. 56 PASS Blob with type "𐑾"
57 PASS Blob with type " image/gif " 57 PASS Blob with type " image/gif "
58 PASS Blob with type "\timage/gif\t" 58 PASS Blob with type "\timage/gif\t"
59 PASS Blob with type "image/gif;" 59 PASS Blob with type "image/gif;"
60 FAIL Blob with type "İmage/gif" Failed to construct 'Blob': The 'type' property must consist of ASCII characters. 60 PASS Blob with type "İmage/gif"
61 FAIL Blob with type "ımage/gif" Failed to construct 'Blob': The 'type' property must consist of ASCII characters. 61 PASS Blob with type "ımage/gif"
62 PASS Blob with type "image/gif\0" 62 PASS Blob with type "image/gif\0"
63 PASS Blob with type "unknown/unknown" 63 PASS Blob with type "unknown/unknown"
64 PASS Blob with type "text/plain" 64 PASS Blob with type "text/plain"
65 PASS Blob with type "image/png" 65 PASS Blob with type "image/png"
66 Harness: the test ran to completion. 66 Harness: the test ran to completion.
67 67
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/wpt/FileAPI/blob/Blob-slice-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698