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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/files/workers/worker-read-file-sync-expected.txt

Issue 1481983002: Drop [LegacyInterfaceTypeChecking] where trivial in core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more tests Created 5 years 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 1
2 Received files in worker 2 Received files in worker
3 Test reading a non-existent file as array buffer 3 Test reading a non-existent file as array buffer
4 Received exception, name: NotFoundError, message: Failed to execute 'readAsArray Buffer' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed. 4 Received exception, name: NotFoundError, message: Failed to execute 'readAsArray Buffer' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
5 Received exception, name: NotFoundError, message: Failed to execute 'readAsArray Buffer' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed. 5 Received exception, name: TypeError, message: Failed to execute 'readAsArrayBuff er' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
6 Test reading a non-existent file as binary string 6 Test reading a non-existent file as binary string
7 Received exception, name: NotFoundError, message: Failed to execute 'readAsBinar yString' on 'FileReaderSync': A requested file or directory could not be found a t the time an operation was processed. 7 Received exception, name: NotFoundError, message: Failed to execute 'readAsBinar yString' on 'FileReaderSync': A requested file or directory could not be found a t the time an operation was processed.
8 Received exception, name: NotFoundError, message: Failed to execute 'readAsBinar yString' on 'FileReaderSync': A requested file or directory could not be found a t the time an operation was processed. 8 Received exception, name: TypeError, message: Failed to execute 'readAsBinaryStr ing' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
9 Test reading a non-existent file as text 9 Test reading a non-existent file as text
10 Received exception, name: NotFoundError, message: Failed to execute 'readAsText' on 'FileReaderSync': A requested file or directory could not be found at the ti me an operation was processed. 10 Received exception, name: NotFoundError, message: Failed to execute 'readAsText' on 'FileReaderSync': A requested file or directory could not be found at the ti me an operation was processed.
11 Received exception, name: NotFoundError, message: Failed to execute 'readAsText' on 'FileReaderSync': A requested file or directory could not be found at the ti me an operation was processed. 11 Received exception, name: TypeError, message: Failed to execute 'readAsText' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
12 Test reading a non-existent file as data URL 12 Test reading a non-existent file as data URL
13 Received exception, name: NotFoundError, message: Failed to execute 'readAsDataU RL' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed. 13 Received exception, name: NotFoundError, message: Failed to execute 'readAsDataU RL' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
14 Received exception, name: NotFoundError, message: Failed to execute 'readAsDataU RL' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed. 14 Received exception, name: TypeError, message: Failed to execute 'readAsDataURL' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
15 Test reading an empty file as array buffer 15 Test reading an empty file as array buffer
16 result size: 0 16 result size: 0
17 result: 17 result:
18 Received exception, name: NotFoundError, message: Failed to execute 'readAsArray Buffer' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed. 18 Received exception, name: TypeError, message: Failed to execute 'readAsArrayBuff er' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
19 Test reading an empty file as binary string 19 Test reading an empty file as binary string
20 result size: 0 20 result size: 0
21 result: 21 result:
22 Received exception, name: NotFoundError, message: Failed to execute 'readAsBinar yString' on 'FileReaderSync': A requested file or directory could not be found a t the time an operation was processed. 22 Received exception, name: TypeError, message: Failed to execute 'readAsBinaryStr ing' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
23 Test reading an empty file as text 23 Test reading an empty file as text
24 result size: 0 24 result size: 0
25 result: 25 result:
26 Received exception, name: NotFoundError, message: Failed to execute 'readAsText' on 'FileReaderSync': A requested file or directory could not be found at the ti me an operation was processed. 26 Received exception, name: TypeError, message: Failed to execute 'readAsText' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
27 Test reading an empty file as data URL 27 Test reading an empty file as data URL
28 result size: 5 28 result size: 5
29 result: data: 29 result: data:
30 Received exception, name: NotFoundError, message: Failed to execute 'readAsDataU RL' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed. 30 Received exception, name: TypeError, message: Failed to execute 'readAsDataURL' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
31 Test reading a UTF-8 file as array buffer 31 Test reading a UTF-8 file as array buffer
32 result size: 5 32 result size: 5
33 result: Hello 33 result: Hello
34 Received exception, name: NotFoundError, message: Failed to execute 'readAsArray Buffer' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed. 34 Received exception, name: TypeError, message: Failed to execute 'readAsArrayBuff er' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
35 Test reading a UTF-8 file as binary string 35 Test reading a UTF-8 file as binary string
36 result size: 5 36 result size: 5
37 result: Hello 37 result: Hello
38 Received exception, name: NotFoundError, message: Failed to execute 'readAsBinar yString' on 'FileReaderSync': A requested file or directory could not be found a t the time an operation was processed. 38 Received exception, name: TypeError, message: Failed to execute 'readAsBinaryStr ing' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
39 Test reading a binary file as array buffer 39 Test reading a binary file as array buffer
40 result size: 9 40 result size: 9
41 result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff 41 result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff
42 Received exception, name: NotFoundError, message: Failed to execute 'readAsArray Buffer' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed. 42 Received exception, name: TypeError, message: Failed to execute 'readAsArrayBuff er' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
43 Test reading a binary file as binary string 43 Test reading a binary file as binary string
44 result size: 9 44 result size: 9
45 result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff 45 result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff
46 Received exception, name: NotFoundError, message: Failed to execute 'readAsBinar yString' on 'FileReaderSync': A requested file or directory could not be found a t the time an operation was processed. 46 Received exception, name: TypeError, message: Failed to execute 'readAsBinaryStr ing' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
47 Test reading a UTF-8 file as text 47 Test reading a UTF-8 file as text
48 result size: 5 48 result size: 5
49 result: Hello 49 result: Hello
50 Received exception, name: NotFoundError, message: Failed to execute 'readAsText' on 'FileReaderSync': A requested file or directory could not be found at the ti me an operation was processed. 50 Received exception, name: TypeError, message: Failed to execute 'readAsText' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
51 Test reading a UTF-16BE BOM file as text 51 Test reading a UTF-16BE BOM file as text
52 result size: 5 52 result size: 5
53 result: Hello 53 result: Hello
54 Received exception, name: NotFoundError, message: Failed to execute 'readAsText' on 'FileReaderSync': A requested file or directory could not be found at the ti me an operation was processed. 54 Received exception, name: TypeError, message: Failed to execute 'readAsText' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
55 Test reading a UTF-16LE BOM file as text 55 Test reading a UTF-16LE BOM file as text
56 result size: 5 56 result size: 5
57 result: Hello 57 result: Hello
58 Received exception, name: NotFoundError, message: Failed to execute 'readAsText' on 'FileReaderSync': A requested file or directory could not be found at the ti me an operation was processed. 58 Received exception, name: TypeError, message: Failed to execute 'readAsText' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
59 Test reading a UTF-8 BOM file as text 59 Test reading a UTF-8 BOM file as text
60 result size: 5 60 result size: 5
61 result: Hello 61 result: Hello
62 Received exception, name: NotFoundError, message: Failed to execute 'readAsText' on 'FileReaderSync': A requested file or directory could not be found at the ti me an operation was processed. 62 Received exception, name: TypeError, message: Failed to execute 'readAsText' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
63 Test reading a UTF-16BE file as text with UTF-16BE encoding 63 Test reading a UTF-16BE file as text with UTF-16BE encoding
64 result size: 5 64 result size: 5
65 result: Hello 65 result: Hello
66 Received exception, name: NotFoundError, message: Failed to execute 'readAsText' on 'FileReaderSync': A requested file or directory could not be found at the ti me an operation was processed. 66 Received exception, name: TypeError, message: Failed to execute 'readAsText' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
67 Test reading a UTF-16BE BOM file as text with UTF8 encoding 67 Test reading a UTF-16BE BOM file as text with UTF8 encoding
68 result size: 5 68 result size: 5
69 result: Hello 69 result: Hello
70 Received exception, name: NotFoundError, message: Failed to execute 'readAsText' on 'FileReaderSync': A requested file or directory could not be found at the ti me an operation was processed. 70 Received exception, name: TypeError, message: Failed to execute 'readAsText' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
71 Test reading a UTF-16BE BOM file as text with invalid encoding 71 Test reading a UTF-16BE BOM file as text with invalid encoding
72 result size: 5 72 result size: 5
73 result: Hello 73 result: Hello
74 Received exception, name: NotFoundError, message: Failed to execute 'readAsText' on 'FileReaderSync': A requested file or directory could not be found at the ti me an operation was processed. 74 Received exception, name: TypeError, message: Failed to execute 'readAsText' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
75 Test reading a UTF-8 file as data URL 75 Test reading a UTF-8 file as data URL
76 result size: 31 76 result size: 31
77 result: data:text/plain;base64,SGVsbG8= 77 result: data:text/plain;base64,SGVsbG8=
78 Received exception, name: NotFoundError, message: Failed to execute 'readAsDataU RL' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed. 78 Received exception, name: TypeError, message: Failed to execute 'readAsDataURL' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
79 Test calling multiple read methods in a row 79 Test calling multiple read methods in a row
80 result size: 5 80 result size: 5
81 result: Hello 81 result: Hello
82 result size: 9 82 result size: 9
83 result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff 83 result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff
84 result size: 5 84 result size: 5
85 result: data: 85 result: data:
86 DONE 86 DONE
87 87
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698