| OLD | NEW |
| 1 Tests the optional properties of DeviceMotionEvent. Each property should be null
if not set, or set to null or undefined. | 1 Tests the optional properties of DeviceMotionEvent. Each property should be null
if not set, or set to null or undefined. |
| 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 event = document.createEvent('DeviceMotionEvent') | 6 event = document.createEvent('DeviceMotionEvent') |
| 7 PASS event.acceleration == null is true | 7 PASS event.acceleration == null is true |
| 8 PASS event.accelerationIncludingGravity == null is true | 8 PASS event.accelerationIncludingGravity == null is true |
| 9 PASS event.rotationRate == null is true | 9 PASS event.rotationRate == null is true |
| 10 PASS event.interval == null is true | 10 PASS event.interval == null is true |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 PASS event.accelerationIncludingGravity.y == null is true | 90 PASS event.accelerationIncludingGravity.y == null is true |
| 91 PASS event.accelerationIncludingGravity.z == 2 is true | 91 PASS event.accelerationIncludingGravity.z == 2 is true |
| 92 PASS event.rotationRate.alpha == null is true | 92 PASS event.rotationRate.alpha == null is true |
| 93 PASS event.rotationRate.beta == null is true | 93 PASS event.rotationRate.beta == null is true |
| 94 PASS event.rotationRate.gamma == 3 is true | 94 PASS event.rotationRate.gamma == 3 is true |
| 95 PASS event.interval == null is true | 95 PASS event.interval == null is true |
| 96 PASS successfullyParsed is true | 96 PASS successfullyParsed is true |
| 97 | 97 |
| 98 TEST COMPLETE | 98 TEST COMPLETE |
| 99 | 99 |
| OLD | NEW |