| Index: third_party/WebKit/Source/modules/serviceworkers/InstallEvent.idl
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.idl b/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.idl
|
| similarity index 53%
|
| copy from third_party/WebKit/Source/modules/serviceworkers/FetchEvent.idl
|
| copy to third_party/WebKit/Source/modules/serviceworkers/InstallEvent.idl
|
| index 9806137beecf33a9f3df2bc86e9ee6ffba082db8..81edb82f6435eccddde32cf195c6ba78a2f8b723 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.idl
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.idl
|
| @@ -4,12 +4,10 @@
|
|
|
| // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#fetch-event-interface
|
| [
|
| - Constructor(DOMString type, optional FetchEventInit eventInitDict),
|
| + Constructor(DOMString type, optional ExtendableEventInit eventInitDict),
|
| Exposed=ServiceWorker,
|
| TypeChecking=Interface,
|
| -] interface FetchEvent : ExtendableEvent {
|
| - readonly attribute Request request;
|
| - readonly attribute boolean isReload;
|
| -
|
| - [CallWith=ScriptState, RaisesException] void respondWith(Promise<Response> r);
|
| + RuntimeEnabled=ForeignFetch,
|
| +] interface InstallEvent : ExtendableEvent {
|
| + [CallWith=ExecutionContext, RaisesException] void registerForeignFetchScopes(sequence<USVString> subScopes);
|
| };
|
|
|