OLD | NEW |
(Empty) | |
| 1 This test checks that EventHandler attributes only accept JS functions as input. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS div.onkeydown is null |
| 7 PASS div.onkeydown = callback did not throw exception. |
| 8 PASS div.onkeydown is callback |
| 9 PASS wasCallbackCalled is true |
| 10 PASS div.onkeydown is not null |
| 11 PASS div.onkeydown = o did not throw exception. |
| 12 PASS div.onkeydown is null |
| 13 PASS wasCallbackCalled is false |
| 14 PASS successfullyParsed is true |
| 15 |
| 16 TEST COMPLETE |
| 17 |
OLD | NEW |