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