summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/files/file-reader-fffd-expected.txt
blob: e4dc2dd0cebacc8e53ac3fffe94378def3474b71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Throw various bad bytes at file reader.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".

array = new Uint8Array([65, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 66]);
blob = new Blob([array]);
reader = new FileReader();
reader.readAsText(blob);
PASS fileString is 'A�����������B'
PASS successfullyParsed is true

TEST COMPLETE