| Index: LayoutTests/fast/dom/DeviceOrientation/script-tests/basic-operation.js
|
| diff --git a/LayoutTests/fast/dom/DeviceOrientation/script-tests/basic-operation.js b/LayoutTests/fast/dom/DeviceOrientation/script-tests/basic-operation.js
|
| index aca94e21ba4e99fab35c456afe6853d536a444f5..41a012ae8d0a1852e98f04c64811c3144a9a1d90 100644
|
| --- a/LayoutTests/fast/dom/DeviceOrientation/script-tests/basic-operation.js
|
| +++ b/LayoutTests/fast/dom/DeviceOrientation/script-tests/basic-operation.js
|
| @@ -3,9 +3,10 @@ description('Tests the basic operation of DeviceOrientation using the mock.');
|
| var mockAlpha = 1.1;
|
| var mockBeta = 2.2;
|
| var mockGamma = 3.3;
|
| +var mockAbsolute = true;
|
|
|
| if (window.testRunner)
|
| - testRunner.setMockDeviceOrientation(true, mockAlpha, true, mockBeta, true, mockGamma);
|
| + testRunner.setMockDeviceOrientation(true, mockAlpha, true, mockBeta, true, mockGamma, true, mockAbsolute);
|
| else
|
| debug('This test can not be run without the TestRunner');
|
|
|
| @@ -15,6 +16,7 @@ window.addEventListener('deviceorientation', function(e) {
|
| shouldBe('deviceOrientationEvent.alpha', 'mockAlpha');
|
| shouldBe('deviceOrientationEvent.beta', 'mockBeta');
|
| shouldBe('deviceOrientationEvent.gamma', 'mockGamma');
|
| + shouldBe('deviceOrientationEvent.absolute', 'mockAbsolute');
|
| finishJSTest();
|
| });
|
|
|
|
|