| Index: third_party/WebKit/LayoutTests/fast/files/workers/worker-read-file-sync-expected.txt
|
| diff --git a/third_party/WebKit/LayoutTests/fast/files/workers/worker-read-file-sync-expected.txt b/third_party/WebKit/LayoutTests/fast/files/workers/worker-read-file-sync-expected.txt
|
| index 74e9ffdc327610bfd0fdee8cd2c494120f85da1a..883733609a46247a3d329a755a20b0fe58518ad6 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/files/workers/worker-read-file-sync-expected.txt
|
| +++ b/third_party/WebKit/LayoutTests/fast/files/workers/worker-read-file-sync-expected.txt
|
| @@ -2,80 +2,80 @@
|
| Received files in worker
|
| Test reading a non-existent file as array buffer
|
| Received exception, name: NotFoundError, message: Failed to execute 'readAsArrayBuffer' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| -Received exception, name: NotFoundError, message: Failed to execute 'readAsArrayBuffer' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| +Received exception, name: TypeError, message: Failed to execute 'readAsArrayBuffer' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
|
| Test reading a non-existent file as binary string
|
| Received exception, name: NotFoundError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| -Received exception, name: NotFoundError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| +Received exception, name: TypeError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
|
| Test reading a non-existent file as text
|
| Received exception, name: NotFoundError, message: Failed to execute 'readAsText' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| -Received exception, name: NotFoundError, message: Failed to execute 'readAsText' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| +Received exception, name: TypeError, message: Failed to execute 'readAsText' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
|
| Test reading a non-existent file as data URL
|
| Received exception, name: NotFoundError, message: Failed to execute 'readAsDataURL' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| -Received exception, name: NotFoundError, message: Failed to execute 'readAsDataURL' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| +Received exception, name: TypeError, message: Failed to execute 'readAsDataURL' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
|
| Test reading an empty file as array buffer
|
| result size: 0
|
| result:
|
| -Received exception, name: NotFoundError, message: Failed to execute 'readAsArrayBuffer' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| +Received exception, name: TypeError, message: Failed to execute 'readAsArrayBuffer' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
|
| Test reading an empty file as binary string
|
| result size: 0
|
| result:
|
| -Received exception, name: NotFoundError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| +Received exception, name: TypeError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
|
| Test reading an empty file as text
|
| result size: 0
|
| result:
|
| -Received exception, name: NotFoundError, message: Failed to execute 'readAsText' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| +Received exception, name: TypeError, message: Failed to execute 'readAsText' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
|
| Test reading an empty file as data URL
|
| result size: 5
|
| result: data:
|
| -Received exception, name: NotFoundError, message: Failed to execute 'readAsDataURL' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| +Received exception, name: TypeError, message: Failed to execute 'readAsDataURL' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
|
| Test reading a UTF-8 file as array buffer
|
| result size: 5
|
| result: Hello
|
| -Received exception, name: NotFoundError, message: Failed to execute 'readAsArrayBuffer' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| +Received exception, name: TypeError, message: Failed to execute 'readAsArrayBuffer' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
|
| Test reading a UTF-8 file as binary string
|
| result size: 5
|
| result: Hello
|
| -Received exception, name: NotFoundError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| +Received exception, name: TypeError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
|
| Test reading a binary file as array buffer
|
| result size: 9
|
| result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff
|
| -Received exception, name: NotFoundError, message: Failed to execute 'readAsArrayBuffer' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| +Received exception, name: TypeError, message: Failed to execute 'readAsArrayBuffer' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
|
| Test reading a binary file as binary string
|
| result size: 9
|
| result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff
|
| -Received exception, name: NotFoundError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| +Received exception, name: TypeError, message: Failed to execute 'readAsBinaryString' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
|
| Test reading a UTF-8 file as text
|
| result size: 5
|
| result: Hello
|
| -Received exception, name: NotFoundError, message: Failed to execute 'readAsText' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| +Received exception, name: TypeError, message: Failed to execute 'readAsText' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
|
| Test reading a UTF-16BE BOM file as text
|
| result size: 5
|
| result: Hello
|
| -Received exception, name: NotFoundError, message: Failed to execute 'readAsText' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| +Received exception, name: TypeError, message: Failed to execute 'readAsText' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
|
| Test reading a UTF-16LE BOM file as text
|
| result size: 5
|
| result: Hello
|
| -Received exception, name: NotFoundError, message: Failed to execute 'readAsText' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| +Received exception, name: TypeError, message: Failed to execute 'readAsText' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
|
| Test reading a UTF-8 BOM file as text
|
| result size: 5
|
| result: Hello
|
| -Received exception, name: NotFoundError, message: Failed to execute 'readAsText' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| +Received exception, name: TypeError, message: Failed to execute 'readAsText' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
|
| Test reading a UTF-16BE file as text with UTF-16BE encoding
|
| result size: 5
|
| result: Hello
|
| -Received exception, name: NotFoundError, message: Failed to execute 'readAsText' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| +Received exception, name: TypeError, message: Failed to execute 'readAsText' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
|
| Test reading a UTF-16BE BOM file as text with UTF8 encoding
|
| result size: 5
|
| result: Hello
|
| -Received exception, name: NotFoundError, message: Failed to execute 'readAsText' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| +Received exception, name: TypeError, message: Failed to execute 'readAsText' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
|
| Test reading a UTF-16BE BOM file as text with invalid encoding
|
| result size: 5
|
| result: Hello
|
| -Received exception, name: NotFoundError, message: Failed to execute 'readAsText' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| +Received exception, name: TypeError, message: Failed to execute 'readAsText' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
|
| Test reading a UTF-8 file as data URL
|
| result size: 31
|
| result: data:text/plain;base64,SGVsbG8=
|
| -Received exception, name: NotFoundError, message: Failed to execute 'readAsDataURL' on 'FileReaderSync': A requested file or directory could not be found at the time an operation was processed.
|
| +Received exception, name: TypeError, message: Failed to execute 'readAsDataURL' on 'FileReaderSync': parameter 1 is not of type 'Blob'.
|
| Test calling multiple read methods in a row
|
| result size: 5
|
| result: Hello
|
|
|