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

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

Issue 723643002: Service Worker: Include promise types in IDL (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased 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
Index: Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
index ea9a3e8d98bcde984a9276ccc347788d91ad4bbe..93028d57366052e7621ee49e59f675f4a582307f 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
@@ -40,8 +40,8 @@
[CallWith=ExecutionContext, Unforgeable] readonly attribute USVString scope;
[CallWith=ExecutionContext, Unforgeable, RuntimeEnabled=ServiceWorkerCache] readonly attribute CacheStorage caches;
- [CallWith=ScriptState] Promise fetch(DOMString request, optional Dictionary requestInitDict);
- [CallWith=ScriptState] Promise fetch(Request request, optional Dictionary requestInitDict);
+ [CallWith=ScriptState] Promise<Response> fetch(DOMString request, optional Dictionary requestInitDict);
+ [CallWith=ScriptState] Promise<Response> fetch(Request request, optional Dictionary requestInitDict);
[RaisesException] void close();
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerContainer.idl ('k') | Source/modules/serviceworkers/ServiceWorkerRegistration.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698