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

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: 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 07d2dbfde12dae6981f050f3a5d05b78b40df4d4..2821345462cc4a1e56d8c9d27e90d01db9668254 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
@@ -38,8 +38,8 @@
readonly attribute ServiceWorkerClients clients;
[CallWith=ExecutionContext, Unforgeable] readonly attribute ScalarValueString scope;
- [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;

Powered by Google App Engine
This is Rietveld 408576698