Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: Source/modules/serviceworkers/ServiceWorkerRegistration.idl

Issue 413123002: ServiceWorker: Implement ServiceWorkerRegistration [1/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix for tkent's comments Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
};
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerRegistration.cpp ('k') | public/platform/WebServiceWorkerProvider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698