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

Unified Diff: LayoutTests/fast/events/drag-dataTransferItemList.html

Issue 36843003: Improve remaining TypeErrors in bindings code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: vibration. Created 7 years, 1 month 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.html
diff --git a/LayoutTests/fast/events/drag-dataTransferItemList.html b/LayoutTests/fast/events/drag-dataTransferItemList.html
index db483b5e2be4436c441512d558aa58c2207cf6b0..2bf6dff956bb18a86b7e8e1b347b2b5149273dc4 100644
--- a/LayoutTests/fast/events/drag-dataTransferItemList.html
+++ b/LayoutTests/fast/events/drag-dataTransferItemList.html
@@ -29,7 +29,7 @@ function itemListDragStart(dataTransfer)
{
testDataTransfer = dataTransfer;
shouldThrow('testDataTransfer.items.add()', '"TypeError: Failed to execute \'add\' on \'DataTransferItemList\': 1 argument required, but only 0 present."');
- shouldThrow('testDataTransfer.items.add("sample")', '"TypeError: Type error"');
+ shouldThrow('testDataTransfer.items.add("sample")', '"TypeError: Failed to execute \'add\' on \'DataTransferItemList\': No function was found that matched the signature provided."');
testItem = dataTransfer.items.add('sample', 'text/plain');
shouldBeEqualToString('testItem.kind', 'string');
shouldBeEqualToString('testItem.type', 'text/plain');

Powered by Google App Engine
This is Rietveld 408576698