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

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

Issue 1969403004: Expose and check origin of request in response for foreign fetch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@set-request-and-credentials-mode
Patch Set: update layouttests Created 4 years, 7 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/ForeignFetchEvent.idl
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ForeignFetchEvent.idl b/third_party/WebKit/Source/modules/serviceworkers/ForeignFetchEvent.idl
index c3a256d77e75a56fb4c7d869b8a18cbca8bbffa2..cfad58fcc91e4b87c770e6f7ad0666cf22203642 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ForeignFetchEvent.idl
+++ b/third_party/WebKit/Source/modules/serviceworkers/ForeignFetchEvent.idl
@@ -9,6 +9,7 @@
RuntimeEnabled=ForeignFetch,
] interface ForeignFetchEvent : ExtendableEvent {
[SameObject] readonly attribute Request request;
+ readonly attribute USVString origin;
[CallWith=ScriptState, RaisesException] void respondWith(Promise<ForeignFetchResponse> r);
};

Powered by Google App Engine
This is Rietveld 408576698