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