OLD | NEW |
1 Tests that document.createEvent() works with DeviceMotionEvent. | 1 Tests that document.createEvent() works with DeviceMotionEvent. |
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 DeviceMotionEvent.prototype | 7 PASS event.__proto__ is DeviceMotionEvent.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 |
(...skipping 10 matching lines...) Expand all Loading... |
21 PASS event.cancelable is false | 21 PASS event.cancelable is false |
22 PASS newEvent.cancelable is false | 22 PASS newEvent.cancelable is false |
23 PASS typeof event.acceleration == 'object' is true | 23 PASS typeof event.acceleration == 'object' is true |
24 PASS typeof event.accelerationIncludingGravity == 'object' is true | 24 PASS typeof event.accelerationIncludingGravity == 'object' is true |
25 PASS typeof event.rotationRate == 'object' is true | 25 PASS typeof event.rotationRate == 'object' is true |
26 PASS typeof event.interval == 'object' is true | 26 PASS typeof event.interval == 'object' is true |
27 PASS successfullyParsed is true | 27 PASS successfullyParsed is true |
28 | 28 |
29 TEST COMPLETE | 29 TEST COMPLETE |
30 | 30 |
OLD | NEW |