| Index: third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/resources/basic-operation.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/resources/basic-operation.js b/third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/resources/basic-operation.js
|
| deleted file mode 100644
|
| index f945f2b34ea232913abcb388d03c34e3ac694639..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/resources/basic-operation.js
|
| +++ /dev/null
|
| @@ -1,21 +0,0 @@
|
| -// This test can be used to test device orientation event types: 'deviceorientation' and 'deviceorientationabsolute'.
|
| -function testBasicOperation(eventType) {
|
| - window.jsTestIsAsync = true;
|
| - if (!window.testRunner)
|
| - debug('This test can not be run without the TestRunner');
|
| -
|
| - mockAlpha = 1.1;
|
| - mockBeta = 2.2;
|
| - mockGamma = 3.3;
|
| - mockAbsolute = true;
|
| - testRunner.setMockDeviceOrientation(true, mockAlpha, true, mockBeta, true, mockGamma, mockAbsolute);
|
| -
|
| - window.addEventListener(eventType, function(e) {
|
| - event = e;
|
| - shouldBe('event.alpha', 'mockAlpha');
|
| - shouldBe('event.beta', 'mockBeta');
|
| - shouldBe('event.gamma', 'mockGamma');
|
| - shouldBe('event.absolute', 'mockAbsolute');
|
| - finishJSTest();
|
| - });
|
| -}
|
|
|