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

Side by Side Diff: LayoutTests/fast/files/file-reader-methods-illegal-arguments-expected.txt

Issue 474353004: FileReader: switch to using TypeChecking=Interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | Source/core/fileapi/FileReader.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 FileReader methods and their argument type checking. 1 Test FileReader methods and their argument type checking.
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 fileReader.readAsArrayBuffer(); threw exception TypeError: Failed to execut e 'readAsArrayBuffer' on 'FileReader': 1 argument required, but only 0 present.. 6 PASS fileReader.readAsArrayBuffer(); threw exception TypeError: Failed to execut e 'readAsArrayBuffer' on 'FileReader': 1 argument required, but only 0 present..
7 PASS fileReader.readAsArrayBuffer(2); threw exception TypeError: Failed to execu te 'readAsArrayBuffer' on 'FileReader': The argument is not a Blob.. 7 PASS fileReader.readAsArrayBuffer(2); threw exception TypeError: Failed to execu te 'readAsArrayBuffer' on 'FileReader': parameter 1 is not of type 'Blob'..
8 PASS fileReader.readAsArrayBuffer(null) threw exception TypeError: Failed to exe cute 'readAsArrayBuffer' on 'FileReader': The argument is not a Blob.. 8 PASS fileReader.readAsArrayBuffer(null) threw exception TypeError: Failed to exe cute 'readAsArrayBuffer' on 'FileReader': parameter 1 is not of type 'Blob'..
9 PASS fileReader.readAsArrayBuffer(fileReader) threw exception TypeError: Failed to execute 'readAsArrayBuffer' on 'FileReader': The argument is not a Blob.. 9 PASS fileReader.readAsArrayBuffer(fileReader) threw exception TypeError: Failed to execute 'readAsArrayBuffer' on 'FileReader': parameter 1 is not of type 'Blob '..
10 PASS fileReader.readAsArrayBuffer([]) threw exception TypeError: Failed to execu te 'readAsArrayBuffer' on 'FileReader': The argument is not a Blob.. 10 PASS fileReader.readAsArrayBuffer([]) threw exception TypeError: Failed to execu te 'readAsArrayBuffer' on 'FileReader': parameter 1 is not of type 'Blob'..
11 PASS fileReader.readAsArrayBuffer(blob, 'utf-8') did not throw exception. 11 PASS fileReader.readAsArrayBuffer(blob, 'utf-8') did not throw exception.
12 PASS fileReader.readAsArrayBuffer(blob) threw exception InvalidStateError: Faile d to execute 'readAsArrayBuffer' on 'FileReader': The object is already busy rea ding Blobs.. 12 PASS fileReader.readAsArrayBuffer(blob) threw exception InvalidStateError: Faile d to execute 'readAsArrayBuffer' on 'FileReader': The object is already busy rea ding Blobs..
13 PASS fileReader.readAsBinaryString(); threw exception TypeError: Failed to execu te 'readAsBinaryString' on 'FileReader': 1 argument required, but only 0 present .. 13 PASS fileReader.readAsBinaryString(); threw exception TypeError: Failed to execu te 'readAsBinaryString' on 'FileReader': 1 argument required, but only 0 present ..
14 PASS fileReader.readAsBinaryString(2); threw exception TypeError: Failed to exec ute 'readAsBinaryString' on 'FileReader': The argument is not a Blob.. 14 PASS fileReader.readAsBinaryString(2); threw exception TypeError: Failed to exec ute 'readAsBinaryString' on 'FileReader': parameter 1 is not of type 'Blob'..
15 PASS fileReader.readAsBinaryString(null) threw exception TypeError: Failed to ex ecute 'readAsBinaryString' on 'FileReader': The argument is not a Blob.. 15 PASS fileReader.readAsBinaryString(null) threw exception TypeError: Failed to ex ecute 'readAsBinaryString' on 'FileReader': parameter 1 is not of type 'Blob'..
16 PASS fileReader.readAsBinaryString(fileReader) threw exception TypeError: Failed to execute 'readAsBinaryString' on 'FileReader': The argument is not a Blob.. 16 PASS fileReader.readAsBinaryString(fileReader) threw exception TypeError: Failed to execute 'readAsBinaryString' on 'FileReader': parameter 1 is not of type 'Bl ob'..
17 PASS fileReader.readAsBinaryString([]) threw exception TypeError: Failed to exec ute 'readAsBinaryString' on 'FileReader': The argument is not a Blob.. 17 PASS fileReader.readAsBinaryString([]) threw exception TypeError: Failed to exec ute 'readAsBinaryString' on 'FileReader': parameter 1 is not of type 'Blob'..
18 PASS fileReader.readAsBinaryString(blob, 'utf-8') did not throw exception. 18 PASS fileReader.readAsBinaryString(blob, 'utf-8') did not throw exception.
19 PASS fileReader.readAsBinaryString(blob) threw exception InvalidStateError: Fail ed to execute 'readAsBinaryString' on 'FileReader': The object is already busy r eading Blobs.. 19 PASS fileReader.readAsBinaryString(blob) threw exception InvalidStateError: Fail ed to execute 'readAsBinaryString' on 'FileReader': The object is already busy r eading Blobs..
20 PASS fileReader.readAsText(); threw exception TypeError: Failed to execute 'read AsText' on 'FileReader': 1 argument required, but only 0 present.. 20 PASS fileReader.readAsText(); threw exception TypeError: Failed to execute 'read AsText' on 'FileReader': 1 argument required, but only 0 present..
21 PASS fileReader.readAsText(2); threw exception TypeError: Failed to execute 'rea dAsText' on 'FileReader': The argument is not a Blob.. 21 PASS fileReader.readAsText(2); threw exception TypeError: Failed to execute 'rea dAsText' on 'FileReader': parameter 1 is not of type 'Blob'..
22 PASS fileReader.readAsText(null) threw exception TypeError: Failed to execute 'r eadAsText' on 'FileReader': The argument is not a Blob.. 22 PASS fileReader.readAsText(null) threw exception TypeError: Failed to execute 'r eadAsText' on 'FileReader': parameter 1 is not of type 'Blob'..
23 PASS fileReader.readAsText(fileReader) threw exception TypeError: Failed to exec ute 'readAsText' on 'FileReader': The argument is not a Blob.. 23 PASS fileReader.readAsText(fileReader) threw exception TypeError: Failed to exec ute 'readAsText' on 'FileReader': parameter 1 is not of type 'Blob'..
24 PASS fileReader.readAsText([]) threw exception TypeError: Failed to execute 'rea dAsText' on 'FileReader': The argument is not a Blob.. 24 PASS fileReader.readAsText([]) threw exception TypeError: Failed to execute 'rea dAsText' on 'FileReader': parameter 1 is not of type 'Blob'..
25 PASS fileReader.readAsText(blob, 'utf-8') did not throw exception. 25 PASS fileReader.readAsText(blob, 'utf-8') did not throw exception.
26 PASS fileReader.readAsText(blob) threw exception InvalidStateError: Failed to ex ecute 'readAsText' on 'FileReader': The object is already busy reading Blobs.. 26 PASS fileReader.readAsText(blob) threw exception InvalidStateError: Failed to ex ecute 'readAsText' on 'FileReader': The object is already busy reading Blobs..
27 PASS fileReader.readAsDataURL(); threw exception TypeError: Failed to execute 'r eadAsDataURL' on 'FileReader': 1 argument required, but only 0 present.. 27 PASS fileReader.readAsDataURL(); threw exception TypeError: Failed to execute 'r eadAsDataURL' on 'FileReader': 1 argument required, but only 0 present..
28 PASS fileReader.readAsDataURL(2); threw exception TypeError: Failed to execute ' readAsDataURL' on 'FileReader': The argument is not a Blob.. 28 PASS fileReader.readAsDataURL(2); threw exception TypeError: Failed to execute ' readAsDataURL' on 'FileReader': parameter 1 is not of type 'Blob'..
29 PASS fileReader.readAsDataURL(null) threw exception TypeError: Failed to execute 'readAsDataURL' on 'FileReader': The argument is not a Blob.. 29 PASS fileReader.readAsDataURL(null) threw exception TypeError: Failed to execute 'readAsDataURL' on 'FileReader': parameter 1 is not of type 'Blob'..
30 PASS fileReader.readAsDataURL(fileReader) threw exception TypeError: Failed to e xecute 'readAsDataURL' on 'FileReader': The argument is not a Blob.. 30 PASS fileReader.readAsDataURL(fileReader) threw exception TypeError: Failed to e xecute 'readAsDataURL' on 'FileReader': parameter 1 is not of type 'Blob'..
31 PASS fileReader.readAsDataURL([]) threw exception TypeError: Failed to execute ' readAsDataURL' on 'FileReader': The argument is not a Blob.. 31 PASS fileReader.readAsDataURL([]) threw exception TypeError: Failed to execute ' readAsDataURL' on 'FileReader': parameter 1 is not of type 'Blob'..
32 PASS fileReader.readAsDataURL(blob, 'utf-8') did not throw exception. 32 PASS fileReader.readAsDataURL(blob, 'utf-8') did not throw exception.
33 PASS fileReader.readAsDataURL(blob) threw exception InvalidStateError: Failed to execute 'readAsDataURL' on 'FileReader': The object is already busy reading Blo bs.. 33 PASS fileReader.readAsDataURL(blob) threw exception InvalidStateError: Failed to execute 'readAsDataURL' on 'FileReader': The object is already busy reading Blo bs..
34 PASS successfullyParsed is true 34 PASS successfullyParsed is true
35 35
36 TEST COMPLETE 36 TEST COMPLETE
37 37
OLDNEW
« no previous file with comments | « no previous file | Source/core/fileapi/FileReader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698