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 | 289 PASS new WheelEvent('eventType', { button: -2 }).button is -2 |
| 290 PASS new WheelEvent('eventType', { button: -32768 }).button is -32768 |
| 291 PASS new WheelEvent('eventType', { button: 32767 }).button is 32767 |
290 PASS new WheelEvent('eventType', { button: 65535 }).button is 0 | 292 PASS new WheelEvent('eventType', { button: 65535 }).button is 0 |
291 PASS new WheelEvent('eventType', { button: 9007199254740991 }).button is 0 | 293 PASS new WheelEvent('eventType', { button: 9007199254740991 }).button is 0 |
292 PASS new WheelEvent('eventType', { button: -1 }).button is 0 | 294 PASS new WheelEvent('eventType', { button: -1 }).button is 0 |
293 PASS new WheelEvent('eventType', { button: 18446744073709551615 }).button is 0 | 295 PASS new WheelEvent('eventType', { button: 18446744073709551615 }).button is 0 |
294 PASS new WheelEvent('eventType', { button: 12345678901234567890 }).button is 204
8 | 296 PASS new WheelEvent('eventType', { button: 12345678901234567890 }).button is 204
8 |
295 PASS new WheelEvent('eventType', { button: 123.45 }).button is 123 | 297 PASS new WheelEvent('eventType', { button: 123.45 }).button is 123 |
296 PASS new WheelEvent('eventType', { button: NaN }).button is 0 | 298 PASS new WheelEvent('eventType', { button: NaN }).button is 0 |
| 299 PASS new WheelEvent('eventType', { button: 65534 }).button is -2 |
| 300 PASS new WheelEvent('eventType', { button: -32769 }).button is 32767 |
| 301 PASS new WheelEvent('eventType', { button: 32768 }).button is -32768 |
297 PASS new WheelEvent('eventType', { button: undefined }).button is 0 | 302 PASS new WheelEvent('eventType', { button: undefined }).button is 0 |
298 PASS new WheelEvent('eventType', { button: null }).button is 0 | 303 PASS new WheelEvent('eventType', { button: null }).button is 0 |
299 PASS new WheelEvent('eventType', { button: '' }).button is 0 | 304 PASS new WheelEvent('eventType', { button: '' }).button is 0 |
300 PASS new WheelEvent('eventType', { button: '12345' }).button is 12345 | 305 PASS new WheelEvent('eventType', { button: '12345' }).button is 12345 |
301 PASS new WheelEvent('eventType', { button: '12345a' }).button is 0 | 306 PASS new WheelEvent('eventType', { button: '12345a' }).button is 0 |
302 PASS new WheelEvent('eventType', { button: 'abc' }).button is 0 | 307 PASS new WheelEvent('eventType', { button: 'abc' }).button is 0 |
303 PASS new WheelEvent('eventType', { button: [] }).button is 0 | 308 PASS new WheelEvent('eventType', { button: [] }).button is 0 |
304 PASS new WheelEvent('eventType', { button: [12345] }).button is 12345 | 309 PASS new WheelEvent('eventType', { button: [12345] }).button is 12345 |
305 PASS new WheelEvent('eventType', { button: [12345, 67890] }).button is 0 | 310 PASS new WheelEvent('eventType', { button: [12345, 67890] }).button is 0 |
306 PASS new WheelEvent('eventType', { button: {} }).button is 0 | 311 PASS new WheelEvent('eventType', { button: {} }).button is 0 |
(...skipping 30 matching lines...) Expand all 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 | 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
}).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 | 343 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 | 344 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 | 345 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 | 346 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 | 347 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 | 348 PASS successfullyParsed is true |
344 | 349 |
345 TEST COMPLETE | 350 TEST COMPLETE |
346 | 351 |
OLD | NEW |