Index: LayoutTests/fast/dom/HTMLOptionElement/collection-setter-getter-expected.txt |
diff --git a/LayoutTests/fast/dom/HTMLOptionElement/collection-setter-getter-expected.txt b/LayoutTests/fast/dom/HTMLOptionElement/collection-setter-getter-expected.txt |
index 781554637fca7347154ad58027f24d199266d11d..53f5996c81215a71c3e14a2d38b593418485c3b7 100644 |
--- a/LayoutTests/fast/dom/HTMLOptionElement/collection-setter-getter-expected.txt |
+++ b/LayoutTests/fast/dom/HTMLOptionElement/collection-setter-getter-expected.txt |
@@ -3,9 +3,18 @@ Tests the indexed setter and getter for HTMLOptionsCollection. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-PASS my_form.set_sel.options.length is 3 |
-PASS options[0] is document.getElementById('one') |
-PASS options[1] is document.getElementById('two') |
+1) getting options by index or by getElementById |
+PASS get_options[0] is document.getElementById("one") |
+PASS get_options[1] is document.getElementById("two") |
+2) setting a few elements to Option values |
+PASS set_options.length is 3 |
+3) trying to set an element to a non-Option value: undefined |
+PASS set_options.length is 3 |
+4) trying to set an element to a non-Option value: null |
+PASS set_options.length is 3 |
+5) trying to set an element to a non-Option value: form (object of incorrect type) |
+PASS set_options[10] = my_form threw exception TypeError: The provided value is not of type 'HTMLOptionElement'.. |
+PASS set_options.length is 3 |
PASS successfullyParsed is true |
TEST COMPLETE |