Index: Source/modules/serviceworkers/CacheStorage.idl |
diff --git a/Source/modules/serviceworkers/CacheStorage.idl b/Source/modules/serviceworkers/CacheStorage.idl |
index b46f7b8576395f3f0734dbe65e77330a13b47c0d..a055fdb6541685a23d7a6779d6268cd69047b94f 100644 |
--- a/Source/modules/serviceworkers/CacheStorage.idl |
+++ b/Source/modules/serviceworkers/CacheStorage.idl |
@@ -9,10 +9,10 @@ |
RuntimeEnabled=ServiceWorkerCache, |
TypeChecking=Interface, |
] interface CacheStorage { |
- [CallWith=ScriptState] Promise has(USVString cacheName); |
- [CallWith=ScriptState] Promise open(USVString cacheName); |
- [CallWith=ScriptState, ImplementedAs=deleteFunction] Promise delete(USVString cacheName); |
- [CallWith=ScriptState] Promise keys(); |
+ [CallWith=ScriptState] Promise<boolean> has(USVString cacheName); |
+ [CallWith=ScriptState] Promise<Cache> open(USVString cacheName); |
+ [CallWith=ScriptState, ImplementedAs=deleteFunction] Promise<boolean> delete(USVString cacheName); |
+ [CallWith=ScriptState] Promise<sequence<DOMString>> keys(); |
// 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(). |