| Index: Source/modules/serviceworkers/ServiceWorkerContainer.idl
|
| diff --git a/Source/modules/serviceworkers/ServiceWorkerContainer.idl b/Source/modules/serviceworkers/ServiceWorkerContainer.idl
|
| index 27839ec7c8fe088c171a637291dd7e73bbbae81a..6c53d299e582c819ec0a2e896700f53244da5406 100644
|
| --- a/Source/modules/serviceworkers/ServiceWorkerContainer.idl
|
| +++ b/Source/modules/serviceworkers/ServiceWorkerContainer.idl
|
| @@ -33,11 +33,12 @@
|
| RuntimeEnabled=ServiceWorker,
|
| GarbageCollected,
|
| TypeChecking=Interface,
|
| -] interface ServiceWorkerContainer {
|
| +] interface ServiceWorkerContainer : EventTarget {
|
| [Unforgeable] readonly attribute ServiceWorker? controller;
|
| [CallWith=ScriptState] readonly attribute Promise<ServiceWorkerRegistration> ready;
|
|
|
| [CallWith=ScriptState, ImplementedAs=registerServiceWorker] Promise<ServiceWorkerRegistration> register(USVString url, optional RegistrationOptions options);
|
| -
|
| [CallWith=ScriptState] Promise<ServiceWorkerRegistration> getRegistration(optional USVString documentURL = "");
|
| +
|
| + attribute EventHandler oncontrollerchange;
|
| };
|
|
|