Home | History | Annotate | Download | only in DeviceMotion
      1 Tests that the window.DeviceMotionEvent and window.ondevicemotion properties are present.
      2 
      3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
      4 
      5 
      6 PASS typeof window.DeviceMotionEvent == 'object' is true
      7 PASS typeof window.DeviceMotionEvent == 'function' is false
      8 PASS hasDeviceMotionEventProperty() is true
      9 PASS 'DeviceMotionEvent' in window is true
     10 PASS window.hasOwnProperty('DeviceMotionEvent') is true
     11 PASS typeof window.ondevicemotion == 'object' is true
     12 PASS hasOnDeviceMotionProperty() is true
     13 PASS 'ondevicemotion' in window is true
     14 PASS window.hasOwnProperty('ondevicemotion') is true
     15 PASS successfullyParsed is true
     16 
     17 TEST COMPLETE
     18 
     19