OLD | NEW |
1 Tests that document.createEvent() works with DeviceOrientationEvent. | 1 Tests that document.createEvent() works with DeviceOrientationEvent. |
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 typeof event == 'object' is true | 6 PASS typeof event == 'object' is true |
7 PASS event.__proto__ is DeviceOrientationEvent.prototype | 7 PASS event.__proto__ is DeviceOrientationEvent.prototype |
8 PASS 'type' in event is true | 8 PASS 'type' in event is true |
9 PASS 'bubbles' in event is true | 9 PASS 'bubbles' in event is true |
10 PASS 'cancelable' in event is true | 10 PASS 'cancelable' in event is true |
11 PASS 'alpha' in event is true | 11 PASS 'alpha' in event is true |
12 PASS 'beta' in event is true | 12 PASS 'beta' in event is true |
13 PASS 'gamma' in event is true | 13 PASS 'gamma' in event is true |
14 PASS 'absolute' in event is true | 14 PASS 'absolute' in event is true |
15 PASS typeof event.type == 'string' is true | 15 PASS typeof event.type == 'string' is true |
16 PASS typeof event.bubbles == 'boolean' is true | 16 PASS typeof event.bubbles == 'boolean' is true |
17 PASS typeof event.cancelable == 'boolean' is true | 17 PASS typeof event.cancelable == 'boolean' is true |
18 PASS typeof event.alpha == 'object' is true | 18 PASS typeof event.alpha == 'object' is true |
19 PASS typeof event.beta == 'object' is true | 19 PASS typeof event.beta == 'object' is true |
20 PASS typeof event.gamma == 'object' is true | 20 PASS typeof event.gamma == 'object' is true |
21 PASS typeof event.absolute == 'object' is true | 21 PASS typeof event.absolute == 'boolean' is true |
22 PASS newEvent.type is "deviceorientation" | 22 PASS newEvent.type is "deviceorientation" |
23 PASS newEvent.bubbles is false | 23 PASS newEvent.bubbles is false |
24 PASS newEvent.cancelable is false | 24 PASS newEvent.cancelable is false |
25 PASS successfullyParsed is true | 25 PASS successfullyParsed is true |
26 | 26 |
27 TEST COMPLETE | 27 TEST COMPLETE |
28 | 28 |
OLD | NEW |