Index: modules/serviceworkers/RegistrationOptionList.idl |
diff --git a/modules/serviceworkers/NavigatorServiceWorker.idl b/modules/serviceworkers/RegistrationOptionList.idl |
similarity index 58% |
copy from modules/serviceworkers/NavigatorServiceWorker.idl |
copy to modules/serviceworkers/RegistrationOptionList.idl |
index 6ed88f01411fcba70268cce24f8f304dd4e8bf52..07d82167f0e933c77a5d5876ab7ff7bdd93f5d57 100644 |
--- a/modules/serviceworkers/NavigatorServiceWorker.idl |
+++ b/modules/serviceworkers/RegistrationOptionList.idl |
@@ -2,9 +2,9 @@ |
// 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#navigator-service-worker |
+// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#registration-option-list-dictionary |
[ |
- RuntimeEnabled=ServiceWorker, |
-] partial interface Navigator { |
- readonly attribute ServiceWorkerContainer serviceWorker; |
+ GarbageCollected |
+] dictionary RegistrationOptionList { |
+ ScalarValueString scope = "/"; |
}; |