Index: modules/serviceworkers/CacheStorage.idl |
diff --git a/modules/serviceworkers/CacheStorage.idl b/modules/serviceworkers/CacheStorage.idl |
index 35b53933f927ae02493c6a18732f53acf5882091..c36ce34707c300b2b3b392ad3d7512a646be26da 100644 |
--- a/modules/serviceworkers/CacheStorage.idl |
+++ b/modules/serviceworkers/CacheStorage.idl |
@@ -2,11 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+// See https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#cache-storage |
[ |
- WillBeGarbageCollected, |
- NoInterfaceObject, |
+ GarbageCollected, |
Exposed=ServiceWorker, |
- RuntimeEnabled=ServiceWorker, |
+ RuntimeEnabled=ServiceWorkerOnFetch, |
] interface CacheStorage { |
[CallWith=ScriptState] Promise get(ScalarValueString cacheName); |
[CallWith=ScriptState] Promise has(ScalarValueString cacheName); |