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

Unified Diff: LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-multiple-expected.txt

Issue 1292653003: [bindings] Avoid using custom binding for HTMLOptionsCollection.length attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Missed to fix the test case! Created 5 years, 4 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-selectedIndex-multiple-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-multiple-expected.txt b/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-multiple-expected.txt
index 60c597d5d01fc059b2115e4d5c4d675792e07dee..c8878c6894e70a2c16f2b80d736d13fb66fa36ea 100644
--- a/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-multiple-expected.txt
+++ b/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-multiple-expected.txt
@@ -1,6 +1,5 @@
1) setting length to a negative length
-PASS mySelect.options.length = -1; threw exception IndexSizeError: Failed to set the 'length' property on 'HTMLOptionsCollection': The value provided (-1) is negative. Lengths must be greater than or equal to 0..
PASS mySelect.options.length is 2
PASS mySelect.selectedIndex is 0
2) setting length to a larger length
@@ -69,6 +68,9 @@ PASS mySelect.selectedIndex is 0
22) trying to set a option element using an invalid index: positive infinity
PASS mySelect.options.length is 10
PASS mySelect.selectedIndex is 0
+23) setting length to a value greater than 10000
+PASS mySelect.options.length is 10
+PASS mySelect.selectedIndex is 0
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698