Index: Source/modules/serviceworkers/ServiceWorkerContainer.idl |
diff --git a/Source/modules/serviceworkers/ServiceWorkerContainer.idl b/Source/modules/serviceworkers/ServiceWorkerContainer.idl |
index 5ab51f16b95872679e567c7f4698265a9feb1807..494accb92ad14e9d7bb54db13a5716af13bf306e 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerContainer.idl |
+++ b/Source/modules/serviceworkers/ServiceWorkerContainer.idl |
@@ -33,4 +33,6 @@ |
] interface ServiceWorkerContainer { |
[CallWith=ExecutionContext, ImplementedAs=registerServiceWorker] Promise register(DOMString url, optional Dictionary options); |
[CallWith=ExecutionContext, ImplementedAs=unregisterServiceWorker] Promise unregister(optional DOMString scope); |
+ |
+ readonly attribute ServiceWorker current; |
}; |