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

Unified Diff: LayoutTests/fast/events/clipboard-dataTransferItemList-remove-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/clipboard-dataTransferItemList-remove-expected.txt
diff --git a/LayoutTests/fast/events/clipboard-dataTransferItemList-remove-expected.txt b/LayoutTests/fast/events/clipboard-dataTransferItemList-remove-expected.txt
index 42151c984538dc714ae04be3defc728f32889bd5..10c8ea4f3909c51294faa3b7db9d07070ae6ae68 100644
--- a/LayoutTests/fast/events/clipboard-dataTransferItemList-remove-expected.txt
+++ b/LayoutTests/fast/events/clipboard-dataTransferItemList-remove-expected.txt
@@ -9,7 +9,7 @@ PASS dataTansferItemList[0].type is "text/plain"
PASS dataTansferItemList[1].type is "text/uri-list"
PASS dataTansferItemList[2].type is "text/html"
PASS dataTansferItemList[3].type is "custom-data"
-PASS dataTansferItemList.remove() threw exception TypeError: Not enough arguments.
+PASS dataTansferItemList.remove() threw exception TypeError: Failed to execute 'remove' on 'DataTransferItemList': 1 argument required, but only 0 present..
PASS dataTansferItemList.remove(-1) did not throw exception.
PASS dataTansferItemList.length is 4
PASS dataTansferItemList.remove(999) did not throw exception.

Powered by Google App Engine
This is Rietveld 408576698