| OLD | NEW |
| (Empty) |
| 1 This tests the constructor for the OverflowEvent DOM class. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 PASS new OverflowEvent('eventType').bubbles is false | |
| 7 PASS new OverflowEvent('eventType').cancelable is false | |
| 8 PASS new OverflowEvent('eventType').horizontalOverflow is false | |
| 9 PASS new OverflowEvent('eventType').verticalOverflow is false | |
| 10 PASS new OverflowEvent('eventType').orient is 0 | |
| 11 PASS new OverflowEvent('eventType', { bubbles: false }).bubbles is false | |
| 12 PASS new OverflowEvent('eventType', { bubbles: true }).bubbles is true | |
| 13 PASS new OverflowEvent('eventType', { cancelable: false }).cancelable is false | |
| 14 PASS new OverflowEvent('eventType', { cancelable: true }).cancelable is true | |
| 15 PASS new OverflowEvent('eventType', { horizontalOverflow: false }).horizontalOve
rflow is false | |
| 16 PASS new OverflowEvent('eventType', { horizontalOverflow: true }).horizontalOver
flow is true | |
| 17 PASS new OverflowEvent('eventType', { verticalOverflow: false }).verticalOverflo
w is false | |
| 18 PASS new OverflowEvent('eventType', { verticalOverflow: true }).verticalOverflow
is true | |
| 19 PASS new OverflowEvent('eventType', { orient: 0 }).orient is 0 | |
| 20 PASS new OverflowEvent('eventType', { orient: 1 }).orient is 1 | |
| 21 PASS new OverflowEvent('eventType', { orient: 65534 }).orient is 65534 | |
| 22 PASS new OverflowEvent('eventType', { orient: 65535 }).orient is 65535 | |
| 23 PASS new OverflowEvent('eventType', { orient: 9007199254740991 }).orient is 6553
5 | |
| 24 PASS new OverflowEvent('eventType', { orient: 18446744073709551615 }).orient is
0 | |
| 25 PASS new OverflowEvent('eventType', { orient: 12345678901234567890 }).orient is
2048 | |
| 26 PASS new OverflowEvent('eventType', { orient: -1 }).orient is 65535 | |
| 27 PASS new OverflowEvent('eventType', { orient: 123.45 }).orient is 123 | |
| 28 PASS new OverflowEvent('eventType', { orient: NaN }).orient is 0 | |
| 29 PASS new OverflowEvent('eventType', { orient: undefined }).orient is 0 | |
| 30 PASS new OverflowEvent('eventType', { orient: null }).orient is 0 | |
| 31 PASS new OverflowEvent('eventType', { orient: '' }).orient is 0 | |
| 32 PASS new OverflowEvent('eventType', { orient: '12345' }).orient is 12345 | |
| 33 PASS new OverflowEvent('eventType', { orient: '12345a' }).orient is 0 | |
| 34 PASS new OverflowEvent('eventType', { orient: 'abc' }).orient is 0 | |
| 35 PASS new OverflowEvent('eventType', { orient: [] }).orient is 0 | |
| 36 PASS new OverflowEvent('eventType', { orient: [12345] }).orient is 12345 | |
| 37 PASS new OverflowEvent('eventType', { orient: [12345, 67890] }).orient is 0 | |
| 38 PASS new OverflowEvent('eventType', { orient: {} }).orient is 0 | |
| 39 PASS new OverflowEvent('eventType', { orient: {foo: 12345} }).orient is 0 | |
| 40 PASS new OverflowEvent('eventType', { orient: {valueOf: function () { return 123
45; }} }).orient is 12345 | |
| 41 PASS new OverflowEvent('eventType', { bubbles: true, cancelable: true, horizonta
lOverflow: true, verticalOverflow: true, orient: 12345 }).bubbles is true | |
| 42 PASS new OverflowEvent('eventType', { bubbles: true, cancelable: true, horizonta
lOverflow: true, verticalOverflow: true, orient: 12345 }).cancelable is true | |
| 43 PASS new OverflowEvent('eventType', { bubbles: true, cancelable: true, horizonta
lOverflow: true, verticalOverflow: true, orient: 12345 }).horizontalOverflow is
true | |
| 44 PASS new OverflowEvent('eventType', { bubbles: true, cancelable: true, horizonta
lOverflow: true, verticalOverflow: true, orient: 12345 }).verticalOverflow is tr
ue | |
| 45 PASS new OverflowEvent('eventType', { bubbles: true, cancelable: true, horizonta
lOverflow: true, verticalOverflow: true, orient: 12345 }).orient is 12345 | |
| 46 PASS successfullyParsed is true | |
| 47 | |
| 48 TEST COMPLETE | |
| 49 | |
| OLD | NEW |