blob: 6288f30e5fad58c43f3f9aded8b7059cb0e22654 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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 == 'function' should be true. Was false.
PASS hasDeviceOrientationEventProperty() is true
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
FAIL window.hasOwnProperty('ondeviceorientation') should be false. Was true.
PASS successfullyParsed is true
TEST COMPLETE
|