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

Unified Diff: LayoutTests/fast/files/not-enough-arguments-expected.txt

Issue 24203002: Improve generated "Not enough arguments." TypeError exceptions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline Created 7 years, 3 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/not-enough-arguments-expected.txt
diff --git a/LayoutTests/fast/files/not-enough-arguments-expected.txt b/LayoutTests/fast/files/not-enough-arguments-expected.txt
index 1598c508c72d5876ac41888b578b085bf5fa3e66..8d78a8117cb68dbd523b4820316e7cf744ff5668 100644
--- a/LayoutTests/fast/files/not-enough-arguments-expected.txt
+++ b/LayoutTests/fast/files/not-enough-arguments-expected.txt
@@ -3,11 +3,11 @@ This test tries calling various FileAPI functions with too few arguments.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS reader.readAsArrayBuffer() threw exception TypeError: Not enough arguments.
-PASS reader.readAsBinaryString() threw exception TypeError: Not enough arguments.
-PASS reader.readAsText() threw exception TypeError: Not enough arguments.
-PASS reader.readAsDataURL() threw exception TypeError: Not enough arguments.
-PASS fileInput.files.item() threw exception TypeError: Not enough arguments.
+PASS reader.readAsArrayBuffer() threw exception TypeError: Failed to execute 'readAsArrayBuffer' on 'FileReader': 1 argument required, but only 0 present..
+PASS reader.readAsBinaryString() threw exception TypeError: Failed to execute 'readAsBinaryString' on 'FileReader': 1 argument required, but only 0 present..
+PASS reader.readAsText() threw exception TypeError: Failed to execute 'readAsText' on 'FileReader': 1 argument required, but only 0 present..
+PASS reader.readAsDataURL() threw exception TypeError: Failed to execute 'readAsDataURL' on 'FileReader': 1 argument required, but only 0 present..
+PASS fileInput.files.item() threw exception TypeError: Failed to execute 'item' on 'FileList': 1 argument required, but only 0 present..
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/files/create-blob-url-crash-expected.txt ('k') | LayoutTests/fast/files/revoke-blob-url-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698