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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/files/blob-constructor-expected.txt

Issue 2860613002: Enable SharedArrayBuffer feature by default. (Closed)
Patch Set: merge HEAD Created 3 years, 7 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 Test the Blob constructor. 1 Test the Blob constructor.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS (new Blob()) instanceof window.Blob is true 6 PASS (new Blob()) instanceof window.Blob is true
7 PASS (new Blob(undefined)) instanceof window.Blob is true 7 PASS (new Blob(undefined)) instanceof window.Blob is true
8 PASS (new Blob([])) instanceof window.Blob is true 8 PASS (new Blob([])) instanceof window.Blob is true
9 PASS (new Blob(['hello'])) instanceof window.Blob is true 9 PASS (new Blob(['hello'])) instanceof window.Blob is true
10 PASS (new Blob(['hello'], {})) instanceof window.Blob is true 10 PASS (new Blob(['hello'], {})) instanceof window.Blob is true
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 PASS new Blob([(new Uint8ClampedArray(100)).buffer]).size is 100 74 PASS new Blob([(new Uint8ClampedArray(100)).buffer]).size is 100
75 PASS new Blob([(new Uint16Array(100)).buffer]).size is 200 75 PASS new Blob([(new Uint16Array(100)).buffer]).size is 200
76 PASS new Blob([(new Uint32Array(100)).buffer]).size is 400 76 PASS new Blob([(new Uint32Array(100)).buffer]).size is 400
77 PASS new Blob([(new Int8Array(100)).buffer]).size is 100 77 PASS new Blob([(new Int8Array(100)).buffer]).size is 100
78 PASS new Blob([(new Int16Array(100)).buffer]).size is 200 78 PASS new Blob([(new Int16Array(100)).buffer]).size is 200
79 PASS new Blob([(new Int32Array(100)).buffer]).size is 400 79 PASS new Blob([(new Int32Array(100)).buffer]).size is 400
80 PASS new Blob([(new Float32Array(100)).buffer]).size is 400 80 PASS new Blob([(new Float32Array(100)).buffer]).size is 400
81 PASS new Blob([(new Float64Array(100)).buffer]).size is 800 81 PASS new Blob([(new Float64Array(100)).buffer]).size is 800
82 PASS new Blob([(new Float64Array(100)).buffer, (new Int32Array(100)).buffer, (ne w Uint8Array(100)).buffer, (new DataView(new ArrayBuffer(100))).buffer]).size is 1400 82 PASS new Blob([(new Float64Array(100)).buffer, (new Int32Array(100)).buffer, (ne w Uint8Array(100)).buffer, (new DataView(new ArrayBuffer(100))).buffer]).size is 1400
83 PASS new Blob([new Blob([(new Int32Array(100)).buffer]), (new Uint8Array(100)).b uffer, (new Float32Array(100)).buffer, (new DataView(new ArrayBuffer(100))).buff er]).size is 1000 83 PASS new Blob([new Blob([(new Int32Array(100)).buffer]), (new Uint8Array(100)).b uffer, (new Float32Array(100)).buffer, (new DataView(new ArrayBuffer(100))).buff er]).size is 1000
84 PASS new Blob([new Uint8Array(new SharedArrayBuffer(4))]) threw exception TypeEr ror: Failed to construct 'Blob': The provided ArrayBufferView value must not be shared..
84 PASS new Blob(createIterable([{done:true}])).size is 0 85 PASS new Blob(createIterable([{done:true}])).size is 0
85 PASS new Blob(createIterable([{done:false, value:'string'},{done:true}])).size i s 6 86 PASS new Blob(createIterable([{done:false, value:'string'},{done:true}])).size i s 6
86 PASS OMICRON_WITH_OXIA.charCodeAt(0) is 0x1F79 87 PASS OMICRON_WITH_OXIA.charCodeAt(0) is 0x1F79
87 PASS reader.result.charCodeAt(0) is 0x1F79 88 PASS reader.result.charCodeAt(0) is 0x1F79
88 PASS CONTAINS_UNPAIRED_SURROGATES.charCodeAt(3) is 0xDC00 89 PASS CONTAINS_UNPAIRED_SURROGATES.charCodeAt(3) is 0xDC00
89 PASS CONTAINS_UNPAIRED_SURROGATES.charCodeAt(7) is 0xD800 90 PASS CONTAINS_UNPAIRED_SURROGATES.charCodeAt(7) is 0xD800
90 PASS reader.result.charCodeAt(3) is 0xFFFD 91 PASS reader.result.charCodeAt(3) is 0xFFFD
91 PASS reader.result.charCodeAt(7) is 0xFFFD 92 PASS reader.result.charCodeAt(7) is 0xFFFD
92 PASS successfullyParsed is true 93 PASS successfullyParsed is true
93 94
94 TEST COMPLETE 95 TEST COMPLETE
95 96
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698