| Index: modules/serviceworkers/InstallEvent.idl
|
| diff --git a/modules/serviceworkers/InstallEvent.idl b/modules/serviceworkers/InstallEvent.idl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..dc9ee1287509efc7bcf4cf4985102bcdf53f98df
|
| --- /dev/null
|
| +++ b/modules/serviceworkers/InstallEvent.idl
|
| @@ -0,0 +1,12 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#fetch-event-interface
|
| +[
|
| + Constructor(DOMString type, optional ExtendableEventInit eventInitDict),
|
| + Exposed=ServiceWorker,
|
| + RuntimeEnabled=ForeignFetch,
|
| +] interface InstallEvent : ExtendableEvent {
|
| + [CallWith=ExecutionContext, RaisesException] void registerForeignFetchScopes(sequence<USVString> subScopes, (USVString or sequence<USVString>) origins);
|
| +};
|
|
|