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 'type' in event is true | 7 PASS 'type' in event is true |
8 PASS 'bubbles' in event is true | 8 PASS 'bubbles' in event is true |
9 PASS 'cancelable' in event is true | 9 PASS 'cancelable' in event is true |
10 FAIL 'acceleration' in event should be true. Was false. | 10 PASS 'acceleration' in event is true |
11 FAIL 'accelerationIncludingGravity' in event should be true. Was false. | 11 PASS 'accelerationIncludingGravity' in event is true |
12 FAIL 'rotationRate' in event should be true. Was false. | 12 PASS 'rotationRate' in event is true |
13 FAIL 'interval' in event should be true. Was false. | 13 PASS 'interval' in event is true |
14 PASS typeof event.type == 'string' is true | 14 PASS typeof event.type == 'string' is true |
15 PASS typeof event.bubbles == 'boolean' is true | 15 PASS typeof event.bubbles == 'boolean' is true |
16 PASS typeof event.cancelable == 'boolean' is true | 16 PASS typeof event.cancelable == 'boolean' is true |
17 FAIL typeof event.acceleration == 'object' should be true. Was false. | 17 PASS typeof event.acceleration == 'object' is true |
18 FAIL typeof event.accelerationIncludingGravity == 'object' should be true. Was f
alse. | 18 PASS typeof event.accelerationIncludingGravity == 'object' is true |
19 FAIL typeof event.rotationRate == 'object' should be true. Was false. | 19 PASS typeof event.rotationRate == 'object' is true |
20 FAIL typeof event.interval == 'object' should be true. Was false. | 20 PASS typeof event.interval == 'object' is true |
21 PASS successfullyParsed is true | 21 PASS successfullyParsed is true |
22 | 22 |
23 TEST COMPLETE | 23 TEST COMPLETE |
24 | 24 |
OLD | NEW |