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

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

Issue 399543002: [ServiceWorker] Make fetch() method better conformance with the spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated falken's comment Created 6 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/ServiceWorkerGlobalScope.idl
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
index a0ab30d9327b03426afa2edfc0488a95d2b07177..0da19c6ba3ac1fb5932d31600f6acfeee296f02a 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
@@ -41,8 +41,8 @@
// FIXME: Rename to "caches" once native Cache API implementation is available.
[CallWith=ExecutionContext, Unforgeable, ImplementedAs=caches] readonly attribute CacheStorage nativeCaches;
- [CallWith=ScriptState] Promise fetch(ScalarValueString request);
- [CallWith=ScriptState] Promise fetch(Request request);
+ [CallWith=ScriptState] Promise fetch(DOMString request, optional Dictionary requestInitDict);
+ [CallWith=ScriptState] Promise fetch(Request request, optional Dictionary requestInitDict);
attribute EventHandler onactivate;
attribute EventHandler onfetch;
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp ('k') | Source/web/ServiceWorkerGlobalScopeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698