OLD | NEW |
1 This tests the constructor for the WheelEvent DOM class. | 1 This tests the constructor for the WheelEvent DOM class. |
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 WheelEvent('eventType').bubbles is false | 6 PASS new WheelEvent('eventType').bubbles is false |
7 PASS new WheelEvent('eventType').cancelable is false | 7 PASS new WheelEvent('eventType').cancelable is false |
8 PASS new WheelEvent('eventType').view is null | 8 PASS new WheelEvent('eventType').view is null |
9 PASS new WheelEvent('eventType').detail is 0 | 9 PASS new WheelEvent('eventType').detail is 0 |
10 PASS new WheelEvent('eventType').screenX is 0 | 10 PASS new WheelEvent('eventType').screenX is 0 |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 PASS new WheelEvent('eventType', { ctrlKey: false }).ctrlKey is false | 279 PASS new WheelEvent('eventType', { ctrlKey: false }).ctrlKey is false |
280 PASS new WheelEvent('eventType', { ctrlKey: true }).ctrlKey is true | 280 PASS new WheelEvent('eventType', { ctrlKey: true }).ctrlKey is true |
281 PASS new WheelEvent('eventType', { altKey: false }).altKey is false | 281 PASS new WheelEvent('eventType', { altKey: false }).altKey is false |
282 PASS new WheelEvent('eventType', { altKey: true }).altKey is true | 282 PASS new WheelEvent('eventType', { altKey: true }).altKey is true |
283 PASS new WheelEvent('eventType', { shiftKey: false }).shiftKey is false | 283 PASS new WheelEvent('eventType', { shiftKey: false }).shiftKey is false |
284 PASS new WheelEvent('eventType', { shiftKey: true }).shiftKey is true | 284 PASS new WheelEvent('eventType', { shiftKey: true }).shiftKey is true |
285 PASS new WheelEvent('eventType', { metaKey: false }).metaKey is false | 285 PASS new WheelEvent('eventType', { metaKey: false }).metaKey is false |
286 PASS new WheelEvent('eventType', { metaKey: true }).metaKey is true | 286 PASS new WheelEvent('eventType', { metaKey: true }).metaKey is true |
287 PASS new WheelEvent('eventType', { button: 0 }).button is 0 | 287 PASS new WheelEvent('eventType', { button: 0 }).button is 0 |
288 PASS new WheelEvent('eventType', { button: 1 }).button is 1 | 288 PASS new WheelEvent('eventType', { button: 1 }).button is 1 |
289 PASS new WheelEvent('eventType', { button: 65534 }).button is 65534 | |
290 PASS new WheelEvent('eventType', { button: 65535 }).button is 0 | 289 PASS new WheelEvent('eventType', { button: 65535 }).button is 0 |
291 PASS new WheelEvent('eventType', { button: 9007199254740991 }).button is 0 | 290 PASS new WheelEvent('eventType', { button: 9007199254740991 }).button is 0 |
292 PASS new WheelEvent('eventType', { button: -1 }).button is 0 | 291 PASS new WheelEvent('eventType', { button: -1 }).button is 0 |
293 PASS new WheelEvent('eventType', { button: 18446744073709551615 }).button is 0 | 292 PASS new WheelEvent('eventType', { button: 18446744073709551615 }).button is 0 |
294 PASS new WheelEvent('eventType', { button: 12345678901234567890 }).button is 204
8 | 293 PASS new WheelEvent('eventType', { button: 12345678901234567890 }).button is 204
8 |
295 PASS new WheelEvent('eventType', { button: 123.45 }).button is 123 | 294 PASS new WheelEvent('eventType', { button: 123.45 }).button is 123 |
296 PASS new WheelEvent('eventType', { button: NaN }).button is 0 | 295 PASS new WheelEvent('eventType', { button: NaN }).button is 0 |
297 PASS new WheelEvent('eventType', { button: undefined }).button is 0 | 296 PASS new WheelEvent('eventType', { button: undefined }).button is 0 |
298 PASS new WheelEvent('eventType', { button: null }).button is 0 | 297 PASS new WheelEvent('eventType', { button: null }).button is 0 |
299 PASS new WheelEvent('eventType', { button: '' }).button is 0 | 298 PASS new WheelEvent('eventType', { button: '' }).button is 0 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 PASS new WheelEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, relatedTarget: t
estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE
}).metaKey is true | 336 PASS new WheelEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, relatedTarget: t
estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE
}).metaKey is true |
338 PASS new WheelEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, relatedTarget: t
estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE
}).button is 666 | 337 PASS new WheelEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, relatedTarget: t
estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE
}).button is 666 |
339 PASS new WheelEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, relatedTarget: t
estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE
}).relatedTarget is testDiv | 338 PASS new WheelEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, relatedTarget: t
estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE
}).relatedTarget is testDiv |
340 PASS new WheelEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, relatedTarget: t
estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE
}).wheelDeltaX is 777 | 339 PASS new WheelEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, relatedTarget: t
estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE
}).wheelDeltaX is 777 |
341 PASS new WheelEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, relatedTarget: t
estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE
}).wheelDeltaY is 888 | 340 PASS new WheelEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, relatedTarget: t
estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE
}).wheelDeltaY is 888 |
342 PASS new WheelEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, relatedTarget: t
estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE
}).deltaMode is WheelEvent.DOM_DELTA_PAGE | 341 PASS new WheelEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, relatedTarget: t
estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE
}).deltaMode is WheelEvent.DOM_DELTA_PAGE |
343 PASS successfullyParsed is true | 342 PASS successfullyParsed is true |
344 | 343 |
345 TEST COMPLETE | 344 TEST COMPLETE |
346 | 345 |
OLD | NEW |