| OLD | NEW |
| 1 Test select.add() method | 1 Test select.add() method |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 Test select | 6 Test select |
| 7 PASS addOption(0) is "X,0,1,2" | 7 PASS addOption(0) is "X,0,1,2" |
| 8 PASS addOption(1) is "0,X,1,2" | 8 PASS addOption(1) is "0,X,1,2" |
| 9 PASS addOption(2) is "0,1,X,2" | 9 PASS addOption(2) is "0,1,X,2" |
| 10 PASS addOption(3) is "0,1,2,X" | 10 PASS addOption(3) is "0,1,2,X" |
| 11 PASS addOption(100) is "0,1,2,X" | 11 PASS addOption(100) is "0,1,2,X" |
| 12 PASS addOption(-100) is "0,1,2,X" | 12 PASS addOption(-100) is "0,1,2,X" |
| 13 PASS getSelectOptions() is "0,1,2,X" | 13 PASS getSelectOptions() is "0,1,2,X" |
| 14 PASS addOption(undefined) is "0,1,2,X" | 14 PASS addOption(undefined) is "0,1,2,X" |
| 15 PASS addOption(null) is "0,1,2,X" | 15 PASS addOption(null) is "0,1,2,X" |
| 16 PASS addOption(NaN) is "X,0,1,2" | 16 PASS addOption(NaN) is "X,0,1,2" |
| 17 PASS addOption(Infinity) is "X,0,1,2" | 17 PASS addOption(Infinity) is "X,0,1,2" |
| 18 PASS addOption(-Infinity) is "X,0,1,2" | 18 PASS addOption(-Infinity) is "X,0,1,2" |
| 19 PASS addOption("foo") is "X,0,1,2" | 19 PASS addOption("foo") is "X,0,1,2" |
| 20 PASS select.add() threw exception TypeError: Failed to execute 'add' on 'HTMLSel
ectElement': 1 argument required, but only 0 present.. | 20 PASS select.add() threw exception TypeError: Failed to execute 'add' on 'HTMLSel
ectElement': 1 argument required, but only 0 present.. |
| 21 PASS select.add("foo") threw exception TypeError: Failed to execute 'add' on 'HT
MLSelectElement': Not a valid union member.. | 21 PASS select.add("foo") threw exception TypeError: Failed to execute 'add' on 'HT
MLSelectElement': The provided value is not of type '(HTMLOptionElement or HTMLO
ptGroupElement)'. |
| 22 PASS select.add("foo", 0) threw exception TypeError: Failed to execute 'add' on
'HTMLSelectElement': Not a valid union member.. | 22 PASS select.add("foo", 0) threw exception TypeError: Failed to execute 'add' on
'HTMLSelectElement': The provided value is not of type '(HTMLOptionElement or HT
MLOptGroupElement)'. |
| 23 PASS select.add(undefined) threw exception TypeError: Failed to execute 'add' on
'HTMLSelectElement': Not a valid union member.. | 23 PASS select.add(undefined) threw exception TypeError: Failed to execute 'add' on
'HTMLSelectElement': The provided value is not of type '(HTMLOptionElement or H
TMLOptGroupElement)'. |
| 24 PASS select.add(undefined, 0) threw exception TypeError: Failed to execute 'add'
on 'HTMLSelectElement': Not a valid union member.. | 24 PASS select.add(undefined, 0) threw exception TypeError: Failed to execute 'add'
on 'HTMLSelectElement': The provided value is not of type '(HTMLOptionElement o
r HTMLOptGroupElement)'. |
| 25 PASS select.add(null) threw exception TypeError: Failed to execute 'add' on 'HTM
LSelectElement': Not a valid union member.. | 25 PASS select.add(null) threw exception TypeError: Failed to execute 'add' on 'HTM
LSelectElement': The provided value is not of type '(HTMLOptionElement or HTMLOp
tGroupElement)'. |
| 26 PASS select.add(null, 0) threw exception TypeError: Failed to execute 'add' on '
HTMLSelectElement': Not a valid union member.. | 26 PASS select.add(null, 0) threw exception TypeError: Failed to execute 'add' on '
HTMLSelectElement': The provided value is not of type '(HTMLOptionElement or HTM
LOptGroupElement)'. |
| 27 PASS getSelectOptions() is "0,X,Y,1,2" | 27 PASS getSelectOptions() is "0,X,Y,1,2" |
| 28 Test select multiple | 28 Test select multiple |
| 29 PASS addOption(0) is "X,0,1,2" | 29 PASS addOption(0) is "X,0,1,2" |
| 30 PASS addOption(1) is "0,X,1,2" | 30 PASS addOption(1) is "0,X,1,2" |
| 31 PASS addOption(2) is "0,1,X,2" | 31 PASS addOption(2) is "0,1,X,2" |
| 32 PASS addOption(3) is "0,1,2,X" | 32 PASS addOption(3) is "0,1,2,X" |
| 33 PASS addOption(100) is "0,1,2,X" | 33 PASS addOption(100) is "0,1,2,X" |
| 34 PASS addOption(-100) is "0,1,2,X" | 34 PASS addOption(-100) is "0,1,2,X" |
| 35 PASS getSelectOptions() is "0,1,2,X" | 35 PASS getSelectOptions() is "0,1,2,X" |
| 36 PASS addOption(undefined) is "0,1,2,X" | 36 PASS addOption(undefined) is "0,1,2,X" |
| 37 PASS addOption(null) is "0,1,2,X" | 37 PASS addOption(null) is "0,1,2,X" |
| 38 PASS addOption(NaN) is "X,0,1,2" | 38 PASS addOption(NaN) is "X,0,1,2" |
| 39 PASS addOption(Infinity) is "X,0,1,2" | 39 PASS addOption(Infinity) is "X,0,1,2" |
| 40 PASS addOption(-Infinity) is "X,0,1,2" | 40 PASS addOption(-Infinity) is "X,0,1,2" |
| 41 PASS addOption("foo") is "X,0,1,2" | 41 PASS addOption("foo") is "X,0,1,2" |
| 42 PASS select.add() threw exception TypeError: Failed to execute 'add' on 'HTMLSel
ectElement': 1 argument required, but only 0 present.. | 42 PASS select.add() threw exception TypeError: Failed to execute 'add' on 'HTMLSel
ectElement': 1 argument required, but only 0 present.. |
| 43 PASS select.add("foo") threw exception TypeError: Failed to execute 'add' on 'HT
MLSelectElement': Not a valid union member.. | 43 PASS select.add("foo") threw exception TypeError: Failed to execute 'add' on 'HT
MLSelectElement': The provided value is not of type '(HTMLOptionElement or HTMLO
ptGroupElement)'. |
| 44 PASS select.add("foo", 0) threw exception TypeError: Failed to execute 'add' on
'HTMLSelectElement': Not a valid union member.. | 44 PASS select.add("foo", 0) threw exception TypeError: Failed to execute 'add' on
'HTMLSelectElement': The provided value is not of type '(HTMLOptionElement or HT
MLOptGroupElement)'. |
| 45 PASS select.add(undefined) threw exception TypeError: Failed to execute 'add' on
'HTMLSelectElement': Not a valid union member.. | 45 PASS select.add(undefined) threw exception TypeError: Failed to execute 'add' on
'HTMLSelectElement': The provided value is not of type '(HTMLOptionElement or H
TMLOptGroupElement)'. |
| 46 PASS select.add(undefined, 0) threw exception TypeError: Failed to execute 'add'
on 'HTMLSelectElement': Not a valid union member.. | 46 PASS select.add(undefined, 0) threw exception TypeError: Failed to execute 'add'
on 'HTMLSelectElement': The provided value is not of type '(HTMLOptionElement o
r HTMLOptGroupElement)'. |
| 47 PASS select.add(null) threw exception TypeError: Failed to execute 'add' on 'HTM
LSelectElement': Not a valid union member.. | 47 PASS select.add(null) threw exception TypeError: Failed to execute 'add' on 'HTM
LSelectElement': The provided value is not of type '(HTMLOptionElement or HTMLOp
tGroupElement)'. |
| 48 PASS select.add(null, 0) threw exception TypeError: Failed to execute 'add' on '
HTMLSelectElement': Not a valid union member.. | 48 PASS select.add(null, 0) threw exception TypeError: Failed to execute 'add' on '
HTMLSelectElement': The provided value is not of type '(HTMLOptionElement or HTM
LOptGroupElement)'. |
| 49 PASS getSelectOptions() is "0,X,Y,1,2" | 49 PASS getSelectOptions() is "0,X,Y,1,2" |
| 50 PASS successfullyParsed is true | 50 PASS successfullyParsed is true |
| 51 | 51 |
| 52 TEST COMPLETE | 52 TEST COMPLETE |
| 53 | 53 |
| OLD | NEW |