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

Unified Diff: LayoutTests/fast/js/select-options-remove-expected.txt

Issue 284163002: Better arity checks for overloads (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Return properly Created 6 years, 7 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 480a30a752ec88eff35e9ee850692ca33b0bea6f..af3d312f7f89d89159a4f0d70e3e1594dca393db 100644
--- a/LayoutTests/fast/js/select-options-remove-expected.txt
+++ b/LayoutTests/fast/js/select-options-remove-expected.txt
@@ -54,7 +54,7 @@ PASS select1.options.length is 0
PASS select1.selectedIndex is -1
1.11 Remove too many args from empty Options
-PASS select1.options.remove(0, 'foo') threw exception TypeError: Failed to execute 'remove' on 'HTMLOptionsCollection': No function was found that matched the signature provided..
+PASS select1.options.remove(0, 'foo') threw exception TypeError: Failed to execute 'remove' on 'HTMLOptionsCollection': 1 argument required, but only 2 present..
PASS select1.options.length is 0
PASS select1.selectedIndex is -1
@@ -150,7 +150,7 @@ PASS select2.selectedIndex is 4
PASS select2.options[0].value is 'K'
2.12 Remove too many args from non-empty Options
-PASS select2.options.remove(0, 'foo') threw exception TypeError: Failed to execute 'remove' on 'HTMLOptionsCollection': No function was found that matched the signature provided..
+PASS select2.options.remove(0, 'foo') threw exception TypeError: Failed to execute 'remove' on 'HTMLOptionsCollection': 1 argument required, but only 2 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/canvas/webgl/texImageTest-expected.txt ('k') | LayoutTests/vibration/vibration-exceptions-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698