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

Unified Diff: LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string-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/editing/pasteboard/data-transfer-items-drag-drop-string-expected.txt
diff --git a/LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string-expected.txt b/LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string-expected.txt
index 5bbd710e7b2704a6f8129a69b5a3dfefb0e158a5..e72087ff55b38fc0d78e0b452b3ed9955c879f85 100644
--- a/LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string-expected.txt
+++ b/LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string-expected.txt
@@ -8,7 +8,7 @@ Verifying contents of DataTransferItems...
items.length: 1
items[0].kind: string
items[0].type: text/plain
-PASS currentItem.getAsString() threw exception TypeError: Not enough arguments.
+PASS currentItem.getAsString() threw exception TypeError: Failed to execute 'getAsString' on 'DataTransferItem': 1 argument required, but only 0 present..
PASS currentItem.getAsString(null) did not throw exception.
PASS stringData is "Lorem ipsum"
Dragging text in source2: http://example.com
@@ -16,7 +16,7 @@ Verifying contents of DataTransferItems...
items.length: 1
items[0].kind: string
items[0].type: text/plain
-PASS currentItem.getAsString() threw exception TypeError: Not enough arguments.
+PASS currentItem.getAsString() threw exception TypeError: Failed to execute 'getAsString' on 'DataTransferItem': 1 argument required, but only 0 present..
PASS currentItem.getAsString(null) did not throw exception.
PASS stringData is "http://example.com"
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698