Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1998)

Unified Diff: Source/modules/cachestorage/CacheStorage.idl

Issue 1177983007: Cache Storage: restrict access to secure origins (Blink-side) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Simplify DevTools agent changes Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/cachestorage/CacheStorage.idl
diff --git a/Source/modules/cachestorage/CacheStorage.idl b/Source/modules/cachestorage/CacheStorage.idl
index d0924adc7a413e442882887ba5f396e9283bca04..7eb99b5aaa06eda5d885cf72e9fe3010f2cc9108 100644
--- a/Source/modules/cachestorage/CacheStorage.idl
+++ b/Source/modules/cachestorage/CacheStorage.idl
@@ -8,9 +8,9 @@
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);
};
« no previous file with comments | « Source/modules/cachestorage/CacheStorage.cpp ('k') | Source/modules/cachestorage/InspectorCacheStorageAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698