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

Unified Diff: Source/modules/serviceworkers/Cache.idl

Issue 694083002: Service Worker Cache: Simplify exception/rejection processing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add exception state to fixture Created 6 years, 1 month 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
« no previous file with comments | « Source/modules/serviceworkers/Cache.cpp ('k') | Source/modules/serviceworkers/CacheTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/Cache.idl
diff --git a/Source/modules/serviceworkers/Cache.idl b/Source/modules/serviceworkers/Cache.idl
index 23952d149e19526ca92af1907975e37bd8813e92..739d2665ad9e0c256008aecec0e2646942ae63cf 100644
--- a/Source/modules/serviceworkers/Cache.idl
+++ b/Source/modules/serviceworkers/Cache.idl
@@ -14,18 +14,18 @@
// [CallWith=ScriptState] Promise match((Request or USVString) request, optional CacheQueryOptions options);
[CallWith=ScriptState] Promise match(Request request, optional CacheQueryOptions options);
- [CallWith=ScriptState] Promise match(USVString request, optional CacheQueryOptions options);
+ [CallWith=ScriptState, RaisesException] Promise match(USVString request, optional CacheQueryOptions options);
// FIXME: Implement matchAll(): http://crbug.com/428363
// FIXME: First argument of matchAll() should be optional: http://crbug.com/425459
// [CallWith=ScriptState] Promise matchAll((Request or USVString) request, optional CacheQueryOptions options);
// [CallWith=ScriptState] Promise matchAll(Request request, optional CacheQueryOptions options);
- // [CallWith=ScriptState] Promise matchAll(USVString request, optional CacheQueryOptions options);
+ // [CallWith=ScriptState, RaisesException] Promise matchAll(USVString request, optional CacheQueryOptions options);
// FIXME: Implement add(): http://crbug.com/427652
// [CallWith=ScriptState] Promise add((Request or USVString) request);
// [CallWith=ScriptState] Promise add(Request request);
- // [CallWith=ScriptState] Promise add(USVString request);
+ // [CallWith=ScriptState, RaisesException] Promise add(USVString request);
// FIXME: Implement addAll(): http://crbug.com/427652
// FIXME: The lack of union type support together with the sequence mean we can't use overrides here, instead
@@ -35,13 +35,13 @@
// [CallWith=ScriptState] Promise put((Request or USVString) request, Response response);
[CallWith=ScriptState] Promise put(Request request, Response response);
- [CallWith=ScriptState] Promise put(USVString request, Response response);
+ [CallWith=ScriptState, RaisesException] Promise put(USVString request, Response response);
// [CallWith=ScriptState] Promise delete((Request or USVString) request, optional CacheQueryOptions options);
[CallWith=ScriptState, ImplementedAs=deleteFunction] Promise delete(Request request, optional CacheQueryOptions options);
- [CallWith=ScriptState, ImplementedAs=deleteFunction] Promise delete(USVString request, optional CacheQueryOptions options);
+ [CallWith=ScriptState, ImplementedAs=deleteFunction, RaisesException] Promise delete(USVString request, optional CacheQueryOptions options);
// [CallWith=ScriptState] Promise keys(optional (Request or USVString) request, optional CacheQueryOptions options);
[CallWith=ScriptState] Promise keys(optional Request request, optional CacheQueryOptions options);
- [CallWith=ScriptState] Promise keys(USVString request, optional CacheQueryOptions options);
+ [CallWith=ScriptState, RaisesException] Promise keys(USVString request, optional CacheQueryOptions options);
};
« no previous file with comments | « Source/modules/serviceworkers/Cache.cpp ('k') | Source/modules/serviceworkers/CacheTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698