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

Unified Diff: LayoutTests/fast/js/select-options-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/js/select-options-remove-expected.txt
diff --git a/LayoutTests/fast/js/select-options-remove-expected.txt b/LayoutTests/fast/js/select-options-remove-expected.txt
index 5bc49d007a8599cc046a9f6a4ccf043ce53087d5..72b6f1d14529d2312319cddccaf450315e901e38 100644
--- a/LayoutTests/fast/js/select-options-remove-expected.txt
+++ b/LayoutTests/fast/js/select-options-remove-expected.txt
@@ -49,7 +49,7 @@ PASS select1.options.length is 0
PASS select1.selectedIndex is -1
1.10 Remove no args from empty Options
-PASS select1.options.remove() threw exception TypeError: Not enough arguments.
+PASS select1.options.remove() threw exception TypeError: Failed to execute 'remove' on 'HTMLOptionsCollection': 1 argument required, but only 0 present..
PASS select1.options.length is 0
PASS select1.selectedIndex is -1
@@ -144,7 +144,7 @@ PASS select2.selectedIndex is 4
PASS select2.options[0].value is 'K'
2.11 Remove no args from non-empty Options
-PASS select2.options.remove() threw exception TypeError: Not enough arguments.
+PASS select2.options.remove() threw exception TypeError: Failed to execute 'remove' on 'HTMLOptionsCollection': 1 argument required, but only 0 present..
PASS select2.options.length is 6
PASS select2.selectedIndex is 4
PASS select2.options[0].value is 'K'
« no previous file with comments | « LayoutTests/fast/js/resources/select-options-remove.js ('k') | LayoutTests/fast/mediastream/RTCPeerConnection-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698