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

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

Issue 1656933003: Add origins argument to registerForeignFetchScopes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add url::Origin::operator== to make tests simpler Created 4 years, 10 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/InstallEvent.idl
diff --git a/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.idl b/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.idl
index 170173a77c6c4c55f0bd565ca1baa3ab793e181f..dc9ee1287509efc7bcf4cf4985102bcdf53f98df 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.idl
+++ b/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.idl
@@ -8,5 +8,5 @@
Exposed=ServiceWorker,
RuntimeEnabled=ForeignFetch,
] interface InstallEvent : ExtendableEvent {
- [CallWith=ExecutionContext, RaisesException] void registerForeignFetchScopes(sequence<USVString> subScopes);
+ [CallWith=ExecutionContext, RaisesException] void registerForeignFetchScopes(sequence<USVString> subScopes, (USVString or sequence<USVString>) origins);
};

Powered by Google App Engine
This is Rietveld 408576698