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

Unified Diff: LayoutTests/fast/dom/HTMLSelectElement/select-element-item-argument-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/dom/HTMLSelectElement/select-element-item-argument-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLSelectElement/select-element-item-argument-expected.txt b/LayoutTests/fast/dom/HTMLSelectElement/select-element-item-argument-expected.txt
index eb9564617facd5e0ef7e97bcac1d20fd6006b075..e1a8da84b5c96ac171521cda10881e91b88e647d 100644
--- a/LayoutTests/fast/dom/HTMLSelectElement/select-element-item-argument-expected.txt
+++ b/LayoutTests/fast/dom/HTMLSelectElement/select-element-item-argument-expected.txt
@@ -11,7 +11,7 @@ PASS select.item(3).value is "d"
PASS select.item(4) is null
PASS select.item(-1) is null
PASS select.item(-4294967294).value is "c"
-PASS select.item() threw exception TypeError: Not enough arguments.
+PASS select.item() threw exception TypeError: Failed to execute 'item' on 'HTMLSelectElement': 1 argument required, but only 0 present..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698