| Index: LayoutTests/fast/forms/select/select-add-expected.txt
|
| diff --git a/LayoutTests/fast/forms/select/select-add-expected.txt b/LayoutTests/fast/forms/select/select-add-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bc092608f6ef23942ff59b6c3edc9be6fc355865
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/forms/select/select-add-expected.txt
|
| @@ -0,0 +1,47 @@
|
| +Test select.add() method
|
| +
|
| +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| +
|
| +
|
| +Test select
|
| +PASS addOption(0) is "X,0,1,2"
|
| +PASS addOption(1) is "0,X,1,2"
|
| +PASS addOption(2) is "0,1,X,2"
|
| +PASS addOption(3) is "0,1,2,X"
|
| +PASS addOption(100) is "0,1,2,X"
|
| +PASS addOption(-100) is "0,1,2,X"
|
| +PASS getSelectOptions() is "0,1,2,X"
|
| +PASS addOption(null) is "0,1,2,X"
|
| +PASS addOption(NaN) is "X,0,1,2"
|
| +PASS addOption(Infinity) is "X,0,1,2"
|
| +PASS addOption(-Infinity) is "X,0,1,2"
|
| +PASS addOption("foo") is "X,0,1,2"
|
| +PASS select.add() threw exception TypeError: Failed to execute 'add' on 'HTMLSelectElement': 1 argument required, but only 0 present..
|
| +PASS select.add("foo") threw exception TypeError: Failed to execute 'add' on 'HTMLSelectElement': No function was found that matched the signature provided..
|
| +PASS select.add("foo", 0) threw exception TypeError: Failed to execute 'add' on 'HTMLSelectElement': No function was found that matched the signature provided..
|
| +PASS select.add(null) threw exception TypeError: Failed to execute 'add' on 'HTMLSelectElement': No function was found that matched the signature provided..
|
| +PASS select.add(null, 0) threw exception TypeError: Failed to execute 'add' on 'HTMLSelectElement': No function was found that matched the signature provided..
|
| +PASS getSelectOptions() is "0,X,Y,1,2"
|
| +Test select multiple
|
| +PASS addOption(0) is "X,0,1,2"
|
| +PASS addOption(1) is "0,X,1,2"
|
| +PASS addOption(2) is "0,1,X,2"
|
| +PASS addOption(3) is "0,1,2,X"
|
| +PASS addOption(100) is "0,1,2,X"
|
| +PASS addOption(-100) is "0,1,2,X"
|
| +PASS getSelectOptions() is "0,1,2,X"
|
| +PASS addOption(null) is "0,1,2,X"
|
| +PASS addOption(NaN) is "X,0,1,2"
|
| +PASS addOption(Infinity) is "X,0,1,2"
|
| +PASS addOption(-Infinity) is "X,0,1,2"
|
| +PASS addOption("foo") is "X,0,1,2"
|
| +PASS select.add() threw exception TypeError: Failed to execute 'add' on 'HTMLSelectElement': 1 argument required, but only 0 present..
|
| +PASS select.add("foo") threw exception TypeError: Failed to execute 'add' on 'HTMLSelectElement': No function was found that matched the signature provided..
|
| +PASS select.add("foo", 0) threw exception TypeError: Failed to execute 'add' on 'HTMLSelectElement': No function was found that matched the signature provided..
|
| +PASS select.add(null) threw exception TypeError: Failed to execute 'add' on 'HTMLSelectElement': No function was found that matched the signature provided..
|
| +PASS select.add(null, 0) threw exception TypeError: Failed to execute 'add' on 'HTMLSelectElement': No function was found that matched the signature provided..
|
| +PASS getSelectOptions() is "0,X,Y,1,2"
|
| +PASS successfullyParsed is true
|
| +
|
| +TEST COMPLETE
|
| +
|
|
|