Index: Source/modules/device_orientation/WindowDeviceMotion.idl |
diff --git a/Source/modules/serviceworkers/FetchEvent.idl b/Source/modules/device_orientation/WindowDeviceMotion.idl |
similarity index 54% |
copy from Source/modules/serviceworkers/FetchEvent.idl |
copy to Source/modules/device_orientation/WindowDeviceMotion.idl |
index 240957229cda92fba2cb38aa75cec83b9f8cfc74..163f2be9f4a411dd78f409ce8d6609516a6efcab 100644 |
--- a/Source/modules/serviceworkers/FetchEvent.idl |
+++ b/Source/modules/device_orientation/WindowDeviceMotion.idl |
@@ -3,8 +3,8 @@ |
// found in the LICENSE file. |
[ |
- RuntimeEnabled=ServiceWorker, |
- GlobalContext=ServiceWorkerGlobalScope, |
-] interface FetchEvent : Event { |
- void respondWith(any value); |
+ RuntimeEnabled=DeviceMotion, |
+ ImplementedAs=DOMWindowDeviceMotion |
+] partial interface Window { |
+ attribute EventHandler ondevicemotion; |
}; |