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

Unified Diff: modules/serviceworkers/ServiceWorkerGlobalScope.idl

Issue 581453002: Dartium Roll 38 roll (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Sync'd w/ r 182210 Created 6 years, 3 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: modules/serviceworkers/ServiceWorkerGlobalScope.idl
diff --git a/modules/serviceworkers/ServiceWorkerGlobalScope.idl b/modules/serviceworkers/ServiceWorkerGlobalScope.idl
index 07d2dbfde12dae6981f050f3a5d05b78b40df4d4..be99abc1108d52ca20ba539f58e9bf87b8e048a4 100644
--- a/modules/serviceworkers/ServiceWorkerGlobalScope.idl
+++ b/modules/serviceworkers/ServiceWorkerGlobalScope.idl
@@ -31,15 +31,17 @@
// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#service-worker-global-scope-interface
[
Exposed=ServiceWorker,
- Global=Worker&ServiceWorker,
+ Global=(Worker,ServiceWorker),
RuntimeEnabled=ServiceWorker,
] interface ServiceWorkerGlobalScope : WorkerGlobalScope {
readonly attribute ServiceWorkerClients clients;
[CallWith=ExecutionContext, Unforgeable] readonly attribute ScalarValueString scope;
+ // FIXME: Rename this once it's ready for testing.
+ [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 | « modules/serviceworkers/ServiceWorkerContainer.idl ('k') | modules/serviceworkers/ServiceWorkerRegistration.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698