Index: Source/modules/device_light/DeviceLightEvent.idl |
diff --git a/Source/modules/serviceworkers/FetchEvent.idl b/Source/modules/device_light/DeviceLightEvent.idl |
similarity index 51% |
copy from Source/modules/serviceworkers/FetchEvent.idl |
copy to Source/modules/device_light/DeviceLightEvent.idl |
index 240957229cda92fba2cb38aa75cec83b9f8cfc74..b08a1c2bdcfbf60e95f06eff60587851f638ea34 100644 |
--- a/Source/modules/serviceworkers/FetchEvent.idl |
+++ b/Source/modules/device_light/DeviceLightEvent.idl |
@@ -3,8 +3,9 @@ |
// found in the LICENSE file. |
[ |
- RuntimeEnabled=ServiceWorker, |
- GlobalContext=ServiceWorkerGlobalScope, |
-] interface FetchEvent : Event { |
- void respondWith(any value); |
+ RuntimeEnabled=DeviceLight, |
+ EventConstructor |
+] |
+interface DeviceLightEvent : Event { |
+ [InitializedByEventConstructor] readonly attribute double value; |
}; |