Index: Source/modules/serviceworkers/CacheStorage.idl |
diff --git a/Source/modules/serviceworkers/CacheStorage.idl b/Source/modules/serviceworkers/CacheStorage.idl |
index 07b23386867fb95bf125e5f766997ae81a0c63d6..4284405d4f6cf53f2c6100b5c32e5a6c5dab8660 100644 |
--- a/Source/modules/serviceworkers/CacheStorage.idl |
+++ b/Source/modules/serviceworkers/CacheStorage.idl |
@@ -8,11 +8,12 @@ |
Exposed=ServiceWorker, |
RuntimeEnabled=ServiceWorker, |
] interface CacheStorage { |
- [CallWith=ScriptState, ImplementedAs=createFunction] Promise create(ScalarValueString key); |
- [CallWith=ScriptState] Promise rename(ScalarValueString oldKey, ScalarValueString newKey); |
- [CallWith=ScriptState] Promise get(ScalarValueString key); |
- [CallWith=ScriptState, ImplementedAs=deleteFunction] Promise delete(ScalarValueString key); |
+ [CallWith=ScriptState] Promise get(ScalarValueString fetchStoreName); |
+ [CallWith=ScriptState] Promise has(ScalarValueString fetchStoreName); |
+ [CallWith=ScriptState, ImplementedAs=createFunction] Promise create(ScalarValueString fetchStoreName); |
+ [CallWith=ScriptState, ImplementedAs=deleteFunction] Promise delete(ScalarValueString fetchStoreName); |
[CallWith=ScriptState] Promise keys(); |
- // FIXME: There are a number of other missing methods here and an active discussion ongoing on https://github.com/slightlyoff/ServiceWorker/issue/314 |
- // and https://github.com/slightlyoff/ServiceWorker/issues/315 about which should stay in. Once that discussion resolves, add the rest of the methods. |
+ // FIXME: From https://github.com/slightlyoff/ServiceWorker/issues/372 and the updated |
+ // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#cache-storage , |
+ // we have yet to implement match(). |
}; |