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 new XMLHttpRequest().addEventListener("foo") is undefined | 6 PASS new XMLHttpRequest().addEventListener("foo") threw exception TypeError: Fai
led to execute 'addEventListener' on 'EventTarget': 2 arguments required, but on
ly 1 present.. |
7 PASS new XMLHttpRequest().removeEventListener("bar") is undefined | 7 PASS new XMLHttpRequest().removeEventListener("bar") threw exception TypeError:
Failed to execute 'removeEventListener' on 'EventTarget': 2 arguments required,
but only 1 present.. |
8 PASS new XMLHttpRequest().addEventListener() is undefined | 8 PASS new XMLHttpRequest().addEventListener() threw exception TypeError: Failed t
o execute 'addEventListener' on 'EventTarget': 2 arguments required, but only 0
present.. |
9 PASS new XMLHttpRequest().removeEventListener() is undefined | 9 PASS new XMLHttpRequest().removeEventListener() threw exception TypeError: Faile
d to execute 'removeEventListener' on 'EventTarget': 2 arguments required, but o
nly 0 present.. |
10 PASS successfullyParsed is true | 10 PASS successfullyParsed is true |
11 | 11 |
12 TEST COMPLETE | 12 TEST COMPLETE |
13 | 13 |
OLD | NEW |