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

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

Issue 335293003: Add slots for navigator.serviceWorker.installing and active. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/ServiceWorkerContainer.idl
diff --git a/Source/modules/serviceworkers/ServiceWorkerContainer.idl b/Source/modules/serviceworkers/ServiceWorkerContainer.idl
index 8bd5ce3fddc08e30fd796723d3795cccd2bf1129..70035f23917097299dfa08714ea6975e08842402 100644
--- a/Source/modules/serviceworkers/ServiceWorkerContainer.idl
+++ b/Source/modules/serviceworkers/ServiceWorkerContainer.idl
@@ -31,9 +31,10 @@
[
RuntimeEnabled=ServiceWorker
] interface ServiceWorkerContainer {
+ [Unforgeable] readonly attribute ServiceWorker active;
+ [Unforgeable] readonly attribute ServiceWorker controller;
+ [Unforgeable] readonly attribute ServiceWorker installing;
[Unforgeable] readonly attribute ServiceWorker waiting;
- // FIXME: controller should be unforgeable
- readonly attribute ServiceWorker controller;
[CallWith=ScriptState] readonly attribute Promise ready;
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerContainer.cpp ('k') | public/platform/WebServiceWorkerProviderClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698