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

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

Issue 291563004: Overload resolution: ignore extra arguments (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline 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 af3d312f7f89d89159a4f0d70e3e1594dca393db..dff5917960dddfefd7541df3d8053f4ad9b58d7c 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': 1 argument required, but only 2 present..
+PASS select1.options.remove(0, 'foo') is undefined
PASS select1.options.length is 0
PASS select1.selectedIndex is -1
@@ -150,34 +150,34 @@ 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': 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'
+PASS select2.options.remove(0, 'foo') is undefined
+PASS select2.options.length is 5
+PASS select2.selectedIndex is 3
+PASS select2.options[0].value is 'L'
2.13 Remove invalid index -2 from non-empty Options
PASS select2.options.remove(-2) is undefined
-PASS select2.options.length is 6
-PASS select2.selectedIndex is 4
-PASS select2.options[2].value is 'M'
+PASS select2.options.length is 5
+PASS select2.selectedIndex is 3
+PASS select2.options[2].value is 'N'
2.14 Remove invalid index -1 from non-empty Options
PASS select2.options.remove(-1) is undefined
-PASS select2.options.length is 6
-PASS select2.selectedIndex is 4
-PASS select2.options[3].value is 'N'
+PASS select2.options.length is 5
+PASS select2.selectedIndex is 3
+PASS select2.options[3].value is 'O'
2.15 Remove index 0 from non-empty Options
PASS select2.options.remove(0) is undefined
-PASS select2.options.length is 5
-PASS select2.selectedIndex is 3
-PASS select2.options[0].value is 'L'
+PASS select2.options.length is 4
+PASS select2.selectedIndex is 2
+PASS select2.options[0].value is 'M'
2.16 Remove index 1 from non-empty Options
PASS select2.options.remove(1) is undefined
-PASS select2.options.length is 4
-PASS select2.selectedIndex is 2
-PASS select2.options[1].value is 'N'
+PASS select2.options.length is 3
+PASS select2.selectedIndex is 1
+PASS select2.options[1].value is 'O'
2.17 Detach select element
PASS select2.parentNode is not null
« no previous file with comments | « LayoutTests/fast/js/resources/select-options-remove.js ('k') | LayoutTests/vibration/vibration-exceptions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698