Index: modules/cachestorage/CacheStorage.idl |
diff --git a/modules/cachestorage/CacheStorage.idl b/modules/cachestorage/CacheStorage.idl |
index d0924adc7a413e442882887ba5f396e9283bca04..5749c175e8774e8c6f337001f78f9b36266d61e1 100644 |
--- a/modules/cachestorage/CacheStorage.idl |
+++ b/modules/cachestorage/CacheStorage.idl |
@@ -6,11 +6,10 @@ |
[ |
GarbageCollected, |
Exposed=(Window,Worker), |
- TypeChecking=Interface, |
] interface CacheStorage { |
- [CallWith=ScriptState] Promise<boolean> has(DOMString cacheName); |
- [CallWith=ScriptState] Promise<Cache> open(DOMString cacheName); |
- [CallWith=ScriptState, ImplementedAs=deleteFunction] Promise<boolean> delete(DOMString cacheName); |
- [CallWith=ScriptState] Promise<sequence<DOMString>> keys(); |
+ [CallWith=ScriptState, RaisesException] Promise<boolean> has(DOMString cacheName); |
+ [CallWith=ScriptState, RaisesException] Promise<Cache> open(DOMString cacheName); |
+ [CallWith=ScriptState, RaisesException, ImplementedAs=deleteFunction] Promise<boolean> delete(DOMString cacheName); |
+ [CallWith=ScriptState, RaisesException] Promise<sequence<DOMString>> keys(); |
[CallWith=ScriptState, RaisesException] Promise<Response> match(RequestInfo request, optional CacheQueryOptions options); |
}; |