| OLD | NEW |
| 1 <p>This test dumps all of the properties that are reachable from the window.Devi
ceMotionEvent window.ondevicemotion, window.DeviceOrientationEvent and window.on
deviceorientation objects, along with their types. | 1 <p>This test dumps all of the properties that are reachable from the window.Devi
ceMotionEvent window.ondevicemotion, window.DeviceOrientationEvent and window.on
deviceorientation objects, along with their types.</p> |
| 2 These properties are currently guarded by ENABLE_DEVICE_ORIENTATION.</p> | |
| 3 <hr> | 2 <hr> |
| 4 <pre id="pre"></pre> | 3 <pre id="pre"></pre> |
| 5 | 4 |
| 6 <script> | 5 <script> |
| 7 if (window.testRunner) | 6 if (window.testRunner) |
| 8 testRunner.dumpAsText(); | 7 testRunner.dumpAsText(); |
| 9 | 8 |
| 10 var logBuffer = []; | 9 var logBuffer = []; |
| 11 function log(s) | 10 function log(s) |
| 12 { | 11 { |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 logValue(objectName + "." + property); | 87 logValue(objectName + "." + property); |
| 89 } | 88 } |
| 90 } | 89 } |
| 91 | 90 |
| 92 logValue('window.DeviceMotionEvent'); | 91 logValue('window.DeviceMotionEvent'); |
| 93 logValue('window.ondevicemotion'); | 92 logValue('window.ondevicemotion'); |
| 94 logValue('window.DeviceOrientationEvent'); | 93 logValue('window.DeviceOrientationEvent'); |
| 95 logValue('window.ondeviceorientation'); | 94 logValue('window.ondeviceorientation'); |
| 96 flushLog(); | 95 flushLog(); |
| 97 </script> | 96 </script> |
| OLD | NEW |