Index: modules/fetch/WindowFetch.idl |
diff --git a/modules/device_light/WindowDeviceLight.idl b/modules/fetch/WindowFetch.idl |
similarity index 57% |
copy from modules/device_light/WindowDeviceLight.idl |
copy to modules/fetch/WindowFetch.idl |
index 1b8cd79f723f0936d2725d90c4fde101af61724f..d2b48ada15193754661f58f3b180d939bcae2f34 100644 |
--- a/modules/device_light/WindowDeviceLight.idl |
+++ b/modules/fetch/WindowFetch.idl |
@@ -3,8 +3,7 @@ |
// found in the LICENSE file. |
[ |
- RuntimeEnabled=DeviceLight, |
- ImplementedAs=DOMWindowDeviceLight |
+ ImplementedAs=GlobalFetch, |
] partial interface Window { |
- attribute EventHandler ondevicelight; |
+ [CallWith=ScriptState, RaisesException] Promise<Response> fetch(RequestInfo input, optional Dictionary init); |
}; |