OLD | NEW |
1 Tests that the window.DeviceOrientationEvent and window.ondeviceorientation and
window.ondeviceorientationabsolute properties are present. | 1 Tests that the window.DeviceOrientationEvent and window.ondeviceorientation and
window.ondeviceorientationabsolute properties are present. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 FAIL typeof window.DeviceOrientationEvent == 'object' should be true. Was false. | 6 FAIL typeof window.DeviceOrientationEvent == 'object' should be true. Was false. |
7 FAIL typeof window.DeviceOrientationEvent == 'function' should be false. Was tru
e. | 7 FAIL typeof window.DeviceOrientationEvent == 'function' should be false. Was tru
e. |
8 PASS window.propertyIsEnumerable('DeviceOrientationEvent') is false | 8 PASS window.propertyIsEnumerable('DeviceOrientationEvent') is false |
9 PASS 'DeviceOrientationEvent' in window is true | 9 PASS 'DeviceOrientationEvent' in window is true |
10 PASS window.hasOwnProperty('DeviceOrientationEvent') is true | 10 PASS window.hasOwnProperty('DeviceOrientationEvent') is true |
11 PASS typeof window.ondeviceorientation == 'object' is true | 11 PASS typeof window.ondeviceorientation == 'object' is true |
12 PASS typeof window.ondeviceorientationabsolute == 'object' is true | 12 PASS typeof window.ondeviceorientationabsolute == 'object' is true |
13 PASS hasProperty('ondeviceorientation') is true | 13 PASS hasProperty('ondeviceorientation') is true |
14 PASS hasProperty('ondeviceorientationabsolute') is true | 14 PASS hasProperty('ondeviceorientationabsolute') is true |
15 PASS 'ondeviceorientation' in window is true | 15 PASS 'ondeviceorientation' in window is true |
16 PASS 'ondeviceorientationabsolute' in window is true | 16 PASS 'ondeviceorientationabsolute' in window is true |
17 PASS window.hasOwnProperty('ondeviceorientation') is true | 17 PASS window.hasOwnProperty('ondeviceorientation') is true |
18 PASS window.hasOwnProperty('ondeviceorientationabsolute') is true | 18 PASS window.hasOwnProperty('ondeviceorientationabsolute') is true |
19 PASS successfullyParsed is true | 19 PASS successfullyParsed is true |
20 | 20 |
21 TEST COMPLETE | 21 TEST COMPLETE |
22 | 22 |
OLD | NEW |