| Index: LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex.html
|
| diff --git a/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex.html b/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex.html
|
| index 2c3dcfdf07586185ae2446440b3ac4a7703095aa..a8e10818546932452b56cede1662d31271c693ad 100644
|
| --- a/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex.html
|
| +++ b/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex.html
|
| @@ -14,7 +14,7 @@ reset(mySelect);
|
| var i = 0;
|
|
|
| debug((++i) + ") setting length to a negative length");
|
| -shouldThrow("mySelect.options.length = -1;");
|
| +mySelect.options.length = -1;
|
| shouldBe("mySelect.options.length", "2");
|
| shouldBe("mySelect.selectedIndex", "1");
|
|
|
| @@ -142,5 +142,10 @@ shouldThrow("mySelect.options.add({})");
|
| shouldBe("mySelect.options.length", "10");
|
| shouldBe("mySelect.selectedIndex", "-1");
|
|
|
| +debug((++i) + ") setting length to a value greater than 10000");
|
| +mySelect.options.length = 10001;
|
| +shouldBe("mySelect.options.length", "10");
|
| +shouldBe("mySelect.selectedIndex", "-1");
|
| +
|
| debug("");
|
| </script>
|
|
|