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

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

Issue 1255933004: Service Worker: Correct Web IDL of FetchEvent.respondWith method. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rename IDL argument and method params. Created 5 years, 5 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/serviceworkers/FetchEvent.idl
diff --git a/Source/modules/serviceworkers/FetchEvent.idl b/Source/modules/serviceworkers/FetchEvent.idl
index ffa53ecf83bf697f0b9258f83cf1afc0e0d488b4..9806137beecf33a9f3df2bc86e9ee6ffba082db8 100644
--- a/Source/modules/serviceworkers/FetchEvent.idl
+++ b/Source/modules/serviceworkers/FetchEvent.idl
@@ -11,5 +11,5 @@
readonly attribute Request request;
readonly attribute boolean isReload;
- [CallWith=ScriptState, RaisesException] void respondWith(any value);
+ [CallWith=ScriptState, RaisesException] void respondWith(Promise<Response> r);
};

Powered by Google App Engine
This is Rietveld 408576698