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

Unified Diff: LayoutTests/fast/files/workers/worker-read-file-sync-expected.txt

Issue 22831019: Deprecate FileError in FileAPI (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: win test expectation fix (temporary) Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/files/workers/worker-read-file-sync-expected.txt
diff --git a/LayoutTests/fast/files/workers/worker-read-file-sync-expected.txt b/LayoutTests/fast/files/workers/worker-read-file-sync-expected.txt
index cbe3e79e8119724745c976f5e12bcbb22f1cf3d3..43813ba561c21a42d9dc2ad063a293b8fd478f7e 100644
--- a/LayoutTests/fast/files/workers/worker-read-file-sync-expected.txt
+++ b/LayoutTests/fast/files/workers/worker-read-file-sync-expected.txt
@@ -1,81 +1,81 @@
Received files in worker
Test reading a non-existent file as array buffer
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
Test reading a non-existent file as binary string
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
Test reading a non-existent file as text
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
Test reading a non-existent file as data URL
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
Test reading an empty file as array buffer
result size: 0
result:
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
Test reading an empty file as binary string
result size: 0
result:
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
Test reading an empty file as text
result size: 0
result:
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
Test reading an empty file as data URL
result size: 5
result: data:
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
Test reading a UTF-8 file as array buffer
result size: 5
result: Hello
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
Test reading a UTF-8 file as binary string
result size: 5
result: Hello
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
Test reading a binary file as array buffer
result size: 9
result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
Test reading a binary file as binary string
result size: 9
result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
Test reading a UTF-8 file as text
result size: 5
result: Hello
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
Test reading a UTF-16BE BOM file as text
result size: 5
result: Hello
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
Test reading a UTF-16LE BOM file as text
result size: 5
result: Hello
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
Test reading a UTF-8 BOM file as text
result size: 5
result: Hello
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
Test reading a UTF-16BE file as text with UTF-16BE encoding
result size: 5
result: Hello
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
Test reading a UTF-16BE BOM file as text with UTF8 encoding
result size: 5
result: Hello
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
Test reading a UTF-16BE BOM file as text with invalid encoding
result size: 5
result: Hello
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
Test reading a UTF-8 file as data URL
result size: 31
result: data:text/plain;base64,SGVsbG8=
-Received exception, code: 8, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
+Received exception, name: NotFoundError, message: A requested file or directory could not be found at the time an operation was processed.
Test calling multiple read methods in a row
result size: 5
result: Hello

Powered by Google App Engine
This is Rietveld 408576698