Index: Source/modules/serviceworkers/ServiceWorkerContainer.idl |
diff --git a/Source/modules/serviceworkers/ServiceWorkerContainer.idl b/Source/modules/serviceworkers/ServiceWorkerContainer.idl |
index a6cb548c3509ad5bb0713e6b99a62a08c0a24f88..91d5ce72469f60ce2c0c54acf9a2fd083024241c 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerContainer.idl |
+++ b/Source/modules/serviceworkers/ServiceWorkerContainer.idl |
@@ -38,4 +38,5 @@ |
[CallWith=ScriptState, ImplementedAs=registerServiceWorker] Promise register(ScalarValueString url, optional Dictionary options); |
[CallWith=ScriptState, ImplementedAs=unregisterServiceWorker] Promise unregister(optional ScalarValueString scope = "/"); |
+ [CallWith=ScriptState] Promise getRegistration(optional ScalarValueString documentURL = ""); |
}; |