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

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

Issue 1305393006: Don't NFC-normalize strings during Blob/File construction (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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
« no previous file with comments | « LayoutTests/fast/files/blob-constructor.html ('k') | Source/platform/blob/BlobData.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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([])) instanceof window.Blob is true 7 PASS (new Blob([])) instanceof window.Blob is true
8 PASS (new Blob(['hello'])) instanceof window.Blob is true 8 PASS (new Blob(['hello'])) 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'], {type:'text/html'})) instanceof window.Blob is true 10 PASS (new Blob(['hello'], {type:'text/html'})) instanceof window.Blob is true
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 PASS new Blob([(new Uint32Array(100)).buffer]).size is 400 67 PASS new Blob([(new Uint32Array(100)).buffer]).size is 400
68 PASS new Blob([(new Int8Array(100)).buffer]).size is 100 68 PASS new Blob([(new Int8Array(100)).buffer]).size is 100
69 PASS new Blob([(new Int16Array(100)).buffer]).size is 200 69 PASS new Blob([(new Int16Array(100)).buffer]).size is 200
70 PASS new Blob([(new Int32Array(100)).buffer]).size is 400 70 PASS new Blob([(new Int32Array(100)).buffer]).size is 400
71 PASS new Blob([(new Float32Array(100)).buffer]).size is 400 71 PASS new Blob([(new Float32Array(100)).buffer]).size is 400
72 PASS new Blob([(new Float64Array(100)).buffer]).size is 800 72 PASS new Blob([(new Float64Array(100)).buffer]).size is 800
73 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 73 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
74 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 74 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
75 PASS new Blob({length: 0}).size is 0 75 PASS new Blob({length: 0}).size is 0
76 PASS new Blob({length: 1, 0: 'string'}).size is 6 76 PASS new Blob({length: 1, 0: 'string'}).size is 6
77 PASS OMICRON_WITH_OXIA.charCodeAt(0) is 0x1F79
78 PASS reader.result.charCodeAt(0) is 0x1F79
77 PASS successfullyParsed is true 79 PASS successfullyParsed is true
78 80
79 TEST COMPLETE 81 TEST COMPLETE
80 82
OLDNEW
« no previous file with comments | « LayoutTests/fast/files/blob-constructor.html ('k') | Source/platform/blob/BlobData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698