OLD | NEW |
1 Test addEventListener() and removeEventListener() fail silently if arguments are
missing. | 1 Test addEventListener() and removeEventListener() fail silently if arguments are
missing. |
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 PASS document.addEventListener("foo") is undefined | 6 PASS document.addEventListener("foo") threw exception TypeError: Failed to execu
te 'addEventListener' on 'EventTarget': 2 arguments required, but only 1 present
.. |
7 PASS document.removeEventListener("bar") is undefined | 7 PASS document.removeEventListener("bar") threw exception TypeError: Failed to ex
ecute 'removeEventListener' on 'EventTarget': 2 arguments required, but only 1 p
resent.. |
8 PASS document.addEventListener() is undefined | 8 PASS document.addEventListener() threw exception TypeError: Failed to execute 'a
ddEventListener' on 'EventTarget': 2 arguments required, but only 0 present.. |
9 PASS document.removeEventListener() is undefined | 9 PASS document.removeEventListener() threw exception TypeError: Failed to execute
'removeEventListener' on 'EventTarget': 2 arguments required, but only 0 presen
t.. |
10 PASS successfullyParsed is true | 10 PASS successfullyParsed is true |
11 | 11 |
12 TEST COMPLETE | 12 TEST COMPLETE |
13 | 13 |
OLD | NEW |