1 Tests the constructor of the standard wheel event
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS testEvent = new WheelEvent('wheel') did not throw exception.
7 PASS testEvent.__proto__ is WheelEvent.prototype
8 PASS testEvent.deltaX is 0
9 PASS testEvent.deltaY is 0
10 PASS testEvent.deltaZ is 0
11 PASS testEvent.deltaMode is WheelEvent.DOM_DELTA_PIXEL
12 PASS testEvent = new WheelEvent('wheel', { deltaX: 10.2, deltaY: 20.3, deltaZ: 30.4, deltaMode: WheelEvent.DOM_DELTA_PAGE }) did not throw exception.
13 PASS testEvent.__proto__ is WheelEvent.prototype
14 PASS testEvent.deltaX is 10.2
15 PASS testEvent.deltaY is 20.3
16 PASS testEvent.deltaZ is 30.4
17 PASS testEvent.deltaMode is WheelEvent.DOM_DELTA_PAGE
18 PASS successfullyParsed is true