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