| Index: LayoutTests/fast/dom/DeviceOrientation/script-tests/optional-event-properties.js
|
| diff --git a/LayoutTests/fast/dom/DeviceOrientation/script-tests/optional-event-properties.js b/LayoutTests/fast/dom/DeviceOrientation/script-tests/optional-event-properties.js
|
| index f55f152426cd50d3b8d40666dd22bd9b455c8b5c..d07bb817163d4fc004e0e87d1cc3326e74a20703 100644
|
| --- a/LayoutTests/fast/dom/DeviceOrientation/script-tests/optional-event-properties.js
|
| +++ b/LayoutTests/fast/dom/DeviceOrientation/script-tests/optional-event-properties.js
|
| @@ -6,12 +6,19 @@ evalAndLog("event = document.createEvent('DeviceOrientationEvent')");
|
| shouldBeTrue("event.alpha == null");
|
| shouldBeTrue("event.beta == null");
|
| shouldBeTrue("event.gamma == null");
|
| +shouldBeTrue("event.absolute == null");
|
|
|
| evalAndLog("event.initDeviceOrientationEvent('', false, false, 0, 1, 2)");
|
| shouldBeTrue("event.alpha == 0");
|
| shouldBeTrue("event.beta == 1");
|
| shouldBeTrue("event.gamma == 2");
|
|
|
| +evalAndLog("event.initDeviceOrientationEvent('', false, false, 0, 1, 2, true)");
|
| +shouldBeTrue("event.alpha == 0");
|
| +shouldBeTrue("event.beta == 1");
|
| +shouldBeTrue("event.gamma == 2");
|
| +shouldBeTrue("event.absolute");
|
| +
|
| evalAndLog("event.initDeviceOrientationEvent()");
|
| shouldBeTrue("event.alpha == null");
|
| shouldBeTrue("event.beta == null");
|
|
|