diff options
Diffstat (limited to 'LayoutTests/fast/dom/DeviceMotion/script-tests/create-event.js')
-rw-r--r-- | LayoutTests/fast/dom/DeviceMotion/script-tests/create-event.js | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/LayoutTests/fast/dom/DeviceMotion/script-tests/create-event.js b/LayoutTests/fast/dom/DeviceMotion/script-tests/create-event.js index 167329d..8b5aec8 100644 --- a/LayoutTests/fast/dom/DeviceMotion/script-tests/create-event.js +++ b/LayoutTests/fast/dom/DeviceMotion/script-tests/create-event.js @@ -7,23 +7,17 @@ shouldBeTrue("typeof event == 'object'"); shouldBeTrue("'type' in event"); shouldBeTrue("'bubbles' in event"); shouldBeTrue("'cancelable' in event"); -shouldBeTrue("'xAcceleration' in event"); -shouldBeTrue("'yAcceleration' in event"); -shouldBeTrue("'zAcceleration' in event"); -shouldBeTrue("'xRotationRate' in event"); -shouldBeTrue("'yRotationRate' in event"); -shouldBeTrue("'zRotationRate' in event"); +shouldBeTrue("'acceleration' in event"); +shouldBeTrue("'accelerationIncludingGravity' in event"); +shouldBeTrue("'rotationRate' in event"); shouldBeTrue("'interval' in event"); shouldBeTrue("typeof event.type == 'string'"); shouldBeTrue("typeof event.bubbles == 'boolean'"); shouldBeTrue("typeof event.cancelable == 'boolean'"); -shouldBeTrue("typeof event.xAcceleration == 'object'"); -shouldBeTrue("typeof event.yAcceleration == 'object'"); -shouldBeTrue("typeof event.zAcceleration == 'object'"); -shouldBeTrue("typeof event.xRotationRate == 'object'"); -shouldBeTrue("typeof event.yRotationRate == 'object'"); -shouldBeTrue("typeof event.zRotationRate == 'object'"); +shouldBeTrue("typeof event.acceleration == 'object'"); +shouldBeTrue("typeof event.accelerationIncludingGravity == 'object'"); +shouldBeTrue("typeof event.rotationRate == 'object'"); shouldBeTrue("typeof event.interval == 'object'"); window.successfullyParsed = true; |