Index: modules/serviceworkers/ServiceWorkerRegistration.idl |
diff --git a/modules/serviceworkers/ServiceWorkerRegistration.idl b/modules/serviceworkers/ServiceWorkerRegistration.idl |
index c88cb42366a65c4624a7a5a91d8bd6c7e0a79849..97d7b82d84aa66545d4633191a451fa4c9550012 100644 |
--- a/modules/serviceworkers/ServiceWorkerRegistration.idl |
+++ b/modules/serviceworkers/ServiceWorkerRegistration.idl |
@@ -5,9 +5,8 @@ |
// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#service-worker-registration-obj |
[ |
Exposed=(Window,Worker), |
- ActiveDOMObject, |
+ DependentLifetime, |
GarbageCollected, |
- TypeChecking=Interface, |
] interface ServiceWorkerRegistration : EventTarget { |
[Unforgeable] readonly attribute ServiceWorker? installing; |
[Unforgeable] readonly attribute ServiceWorker? waiting; |
@@ -15,7 +14,7 @@ |
readonly attribute USVString scope; |
- [CallWith=ScriptState, RaisesException] void update(); |
+ [CallWith=ScriptState] Promise<void> update(); |
[CallWith=ScriptState] Promise<boolean> unregister(); |
attribute EventHandler onupdatefound; |