Index: LayoutTests/fast/forms/select-max-length-expected.txt |
diff --git a/LayoutTests/fast/forms/select-max-length-expected.txt b/LayoutTests/fast/forms/select-max-length-expected.txt |
index d07b53ba96fc819362212b6cba132df526c7cdb7..2e52dcbab853a975e9ad3e5f8e3aeac2388042af 100644 |
--- a/LayoutTests/fast/forms/select-max-length-expected.txt |
+++ b/LayoutTests/fast/forms/select-max-length-expected.txt |
@@ -1,10 +1,19 @@ |
+CONSOLE WARNING: A request to update the option length to 20000 is ignored. The maximum length is 10000. |
+CONSOLE WARNING: A request to update an option at index=20000 is ignored. The maximum length is 10000. |
+CONSOLE WARNING: A request to update an option at index=20000 is ignored. The maximum length is 10000. |
This test that setting HTMLSelectElement.length is capped to 10,000, but that you can add additional Option elements by calling add. |
-Select length is 0 |
+PASS sel.length is 0 |
Trying: - sel.length = 20000; |
-Select length is 0 |
+PASS sel.length is 0 |
Trying: - sel.add(new Option, 0); |
-Select length is 1 |
+PASS sel.length is 1 |
Trying: - sel.length = 0; |
-Select length is 0 |
+PASS sel.length is 0 |
+Index setter: |
+PASS sel[20000] = new Option(); sel.length is 0 |
+PASS sel.options[20000] = new Option(); sel.length is 0 |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |