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

Unified Diff: LayoutTests/fast/events/drag-dataTransferItemList-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/events/drag-dataTransferItemList-expected.txt
diff --git a/LayoutTests/fast/events/drag-dataTransferItemList-expected.txt b/LayoutTests/fast/events/drag-dataTransferItemList-expected.txt
index b81f61bf199b9ee2613633569dbc164fb6014c16..741e0867bffd973c17bfdb433ae2b22dc888affd 100644
--- a/LayoutTests/fast/events/drag-dataTransferItemList-expected.txt
+++ b/LayoutTests/fast/events/drag-dataTransferItemList-expected.txt
@@ -29,7 +29,7 @@ PASS testData is expectedTestData
PASS testData is expectedTestData
PASS testData is expectedTestData
Running test with DataTransferItemList drag handler and Legacy drop handler
-PASS testDataTransfer.items.add() threw exception TypeError: Not enough arguments.
+PASS testDataTransfer.items.add() threw exception TypeError: Failed to execute 'add' on 'DataTransferItemList': 1 argument required, but only 0 present..
PASS testDataTransfer.items.add("sample") threw exception TypeError: Type error.
PASS testItem.kind is "string"
PASS testItem.type is "text/plain"
@@ -49,7 +49,7 @@ PASS testDataTransfer.getData("url") is "http://www.google.com/"
PASS testDataTransfer.getData("text/html") is "<em>Markup</em>"
PASS testDataTransfer.getData("custom-data") is "hello world"
Running test with DataTransferItemList drag handler and DataTransferItemList drop handler
-PASS testDataTransfer.items.add() threw exception TypeError: Not enough arguments.
+PASS testDataTransfer.items.add() threw exception TypeError: Failed to execute 'add' on 'DataTransferItemList': 1 argument required, but only 0 present..
PASS testDataTransfer.items.add("sample") threw exception TypeError: Type error.
PASS testItem.kind is "string"
PASS testItem.type is "text/plain"

Powered by Google App Engine
This is Rietveld 408576698