Index: Source/modules/serviceworkers/ServiceWorkerRegistration.idl |
diff --git a/Source/modules/serviceworkers/ServiceWorkerClients.idl b/Source/modules/serviceworkers/ServiceWorkerRegistration.idl |
similarity index 57% |
copy from Source/modules/serviceworkers/ServiceWorkerClients.idl |
copy to Source/modules/serviceworkers/ServiceWorkerRegistration.idl |
index a484d6e1e9b645316927631435b2dfce428891f8..5749387f7c078788d3877d5962bdc469034f9284 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerClients.idl |
+++ b/Source/modules/serviceworkers/ServiceWorkerRegistration.idl |
@@ -2,11 +2,13 @@ |
// 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#service-worker-clients-interface |
+// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#service-worker-registration-obj |
[ |
- Exposed=ServiceWorker, |
+ ActiveDOMObject, |
RuntimeEnabled=ServiceWorker, |
WillBeGarbageCollected, |
-] interface ServiceWorkerClients { |
- [CallWith=ScriptState] Promise getServiced(); |
+] interface ServiceWorkerRegistration : EventTarget { |
+ readonly attribute ScalarValueString scope; |
+ |
+ [CallWith=ScriptState] Promise unregister(); |
}; |