| OLD | NEW |
| (Empty) |
| 1 This tests the constructor for the BeforeLoadEvent DOM class. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 PASS new BeforeLoadEvent('eventType').bubbles is false | |
| 7 PASS new BeforeLoadEvent('eventType').cancelable is false | |
| 8 PASS new BeforeLoadEvent('eventType').url is "" | |
| 9 PASS new BeforeLoadEvent('eventType', { bubbles: false }).bubbles is false | |
| 10 PASS new BeforeLoadEvent('eventType', { bubbles: true }).bubbles is true | |
| 11 PASS new BeforeLoadEvent('eventType', { cancelable: false }).cancelable is false | |
| 12 PASS new BeforeLoadEvent('eventType', { cancelable: true }).cancelable is true | |
| 13 PASS new BeforeLoadEvent('eventType', { url: 'doremi' }).url is "doremi" | |
| 14 PASS new BeforeLoadEvent('eventType', { url: '' }).url is "" | |
| 15 PASS new BeforeLoadEvent('eventType', { url: undefined }).url is "undefined" | |
| 16 PASS new BeforeLoadEvent('eventType', { url: null }).url is "null" | |
| 17 PASS new BeforeLoadEvent('eventType', { url: false }).url is "false" | |
| 18 PASS new BeforeLoadEvent('eventType', { url: true }).url is "true" | |
| 19 PASS new BeforeLoadEvent('eventType', { url: 12345 }).url is "12345" | |
| 20 PASS new BeforeLoadEvent('eventType', { url: 18446744073709551615 }).url is "184
46744073709552000" | |
| 21 PASS new BeforeLoadEvent('eventType', { url: NaN }).url is "NaN" | |
| 22 PASS new BeforeLoadEvent('eventType', { url: [] }).url is "" | |
| 23 PASS new BeforeLoadEvent('eventType', { url: [1, 2, 3] }).url is "1,2,3" | |
| 24 PASS new BeforeLoadEvent('eventType', { url: {doremi: 12345} }).url is "[object
Object]" | |
| 25 PASS new BeforeLoadEvent('eventType', { url: {valueOf: function () { return 'dor
emi'; } } }).url is "[object Object]" | |
| 26 PASS new BeforeLoadEvent('eventType', { bubbles: true, cancelable: true, url: 'd
oremi' }).bubbles is true | |
| 27 PASS new BeforeLoadEvent('eventType', { bubbles: true, cancelable: true, url: 'd
oremi' }).cancelable is true | |
| 28 PASS new BeforeLoadEvent('eventType', { bubbles: true, cancelable: true, url: 'd
oremi' }).url is 'doremi' | |
| 29 PASS successfullyParsed is true | |
| 30 | |
| 31 TEST COMPLETE | |
| 32 | |
| OLD | NEW |