summaryrefslogtreecommitdiffstats
path: root/LayoutTests/platform/android-v8/fast/dom/DeviceOrientation/window-property-expected.txt
blob: 900c9caa46fba6f38c24fa5154ea8612ae22d6d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 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 true. Was false.
PASS successfullyParsed is true

TEST COMPLETE