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

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

Issue 1435633002: Service Worker: Add FetchEvent.clientId (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change the order of a class member Created 4 years, 11 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: third_party/WebKit/Source/modules/serviceworkers/FetchEvent.idl
diff --git a/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.idl b/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.idl
index 817554a9f117109b2f4c2ab42b2ba5cd90a781f7..e8f4551dcbe0d43b6f28ab6ecae7cd06f0253697 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.idl
+++ b/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.idl
@@ -4,10 +4,11 @@
// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#fetch-event-interface
[
- Constructor(DOMString type, optional FetchEventInit eventInitDict),
+ Constructor(DOMString type, FetchEventInit eventInitDict),
Exposed=ServiceWorker,
] interface FetchEvent : ExtendableEvent {
- readonly attribute Request request;
+ [SameObject] readonly attribute Request request;
+ readonly attribute DOMString? clientId;
readonly attribute boolean isReload;
[CallWith=ScriptState, RaisesException] void respondWith(Promise<Response> r);

Powered by Google App Engine
This is Rietveld 408576698