Index: modules/serviceworkers/FetchEvent.idl |
diff --git a/modules/serviceworkers/FetchEvent.idl b/modules/serviceworkers/FetchEvent.idl |
index d4251437e071a1078112c05e2e927c3ca56b3447..88bf9e1ff5bdc6174852017a849c36ab02dc6317 100644 |
--- a/modules/serviceworkers/FetchEvent.idl |
+++ b/modules/serviceworkers/FetchEvent.idl |
@@ -4,11 +4,11 @@ |
// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#fetch-event-interface |
[ |
- RuntimeEnabled=ServiceWorker, |
+ RuntimeEnabled=ServiceWorkerOnFetch, |
Exposed=ServiceWorker |
] interface FetchEvent : Event { |
readonly attribute Request request; |
readonly attribute boolean isReload; |
- [CallWith=ScriptState] void respondWith(any value); |
+ [CallWith=ScriptState, RaisesException] void respondWith(any value); |
}; |