| OLD | NEW |
| 1 Tests that the window.DeviceMotionEvent and window.ondevicemotion properties are
present. | 1 Tests that the window.DeviceMotionEvent and window.ondevicemotion properties are
present. |
| 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 FAIL typeof window.DeviceMotionEvent == 'object' should be true. Was false. | 6 FAIL typeof window.DeviceMotionEvent == 'object' should be true. Was false. |
| 7 FAIL typeof window.DeviceMotionEvent == 'function' should be false. Was true. | 7 FAIL typeof window.DeviceMotionEvent == 'function' should be false. Was true. |
| 8 FAIL hasDeviceMotionEventProperty() should be true. Was false. | 8 FAIL hasDeviceMotionEventProperty() should be true. Was false. |
| 9 PASS 'DeviceMotionEvent' in window is true | 9 PASS 'DeviceMotionEvent' in window is true |
| 10 PASS window.hasOwnProperty('DeviceMotionEvent') is true | 10 PASS window.hasOwnProperty('DeviceMotionEvent') is true |
| 11 PASS typeof window.ondevicemotion == 'object' is true | 11 PASS typeof window.ondevicemotion == 'object' is true |
| 12 PASS hasOnDeviceMotionProperty() is true | 12 PASS hasOnDeviceMotionProperty() is true |
| 13 PASS 'ondevicemotion' in window is true | 13 PASS 'ondevicemotion' in window is true |
| 14 PASS window.hasOwnProperty('ondevicemotion') is true | 14 PASS window.hasOwnProperty('ondevicemotion') is true |
| 15 PASS successfullyParsed is true | 15 PASS successfullyParsed is true |
| 16 | 16 |
| 17 TEST COMPLETE | 17 TEST COMPLETE |
| 18 | 18 |
| OLD | NEW |