blob: 5914d6b481c794ced334f512edf032b524e4e19e [file] [log] [blame]
Tests that the window.DeviceOrientationEvent and window.ondeviceorientation properties are present.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
FAIL typeof window.DeviceOrientationEvent == 'object' should be true. Was false.
FAIL typeof window.DeviceOrientationEvent == 'function' should be false. Was true.
PASS window.propertyIsEnumerable('DeviceOrientationEvent') is false
PASS 'DeviceOrientationEvent' in window is true
PASS window.hasOwnProperty('DeviceOrientationEvent') is true
PASS typeof window.ondeviceorientation == 'object' is true
PASS hasOnDeviceOrientationProperty() is true
PASS 'ondeviceorientation' in window is true
PASS window.hasOwnProperty('ondeviceorientation') is true
PASS successfullyParsed is true
TEST COMPLETE