| OLD | NEW |
| 1 Tests the optional properties of DeviceOrientationEvent. Each property should be
null if not set, or set to null or undefined. | 1 Tests the optional properties of DeviceOrientationEvent. 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('DeviceOrientationEvent') | 6 event = document.createEvent('DeviceOrientationEvent') |
| 7 PASS event.alpha == null is true | 7 PASS event.alpha == null is true |
| 8 PASS event.beta == null is true | 8 PASS event.beta == null is true |
| 9 PASS event.gamma == null is true | 9 PASS event.gamma == null is true |
| 10 PASS event.absolute is false | 10 PASS event.absolute is false |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 PASS event.absolute is false | 40 PASS event.absolute is false |
| 41 event.initDeviceOrientationEvent('', false, false, null, null, null, null) | 41 event.initDeviceOrientationEvent('', false, false, null, null, null, null) |
| 42 PASS event.alpha == null is true | 42 PASS event.alpha == null is true |
| 43 PASS event.beta == null is true | 43 PASS event.beta == null is true |
| 44 PASS event.gamma == null is true | 44 PASS event.gamma == null is true |
| 45 PASS event.absolute is false | 45 PASS event.absolute is false |
| 46 PASS successfullyParsed is true | 46 PASS successfullyParsed is true |
| 47 | 47 |
| 48 TEST COMPLETE | 48 TEST COMPLETE |
| 49 | 49 |
| OLD | NEW |