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

Unified Diff: Source/modules/serviceworkers/FetchEventInit.idl

Issue 1079073003: Introducing FetchEventInit Dictionary. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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/FetchEventInit.idl
diff --git a/Source/modules/serviceworkers/RegistrationOptions.idl b/Source/modules/serviceworkers/FetchEventInit.idl
similarity index 64%
copy from Source/modules/serviceworkers/RegistrationOptions.idl
copy to Source/modules/serviceworkers/FetchEventInit.idl
index 17f2d20284edbaaf27eba94177b4ec87f37e53a9..96d0bae0ca7aebcb3404200b43dc4d39afa1a9e6 100644
--- a/Source/modules/serviceworkers/RegistrationOptions.idl
+++ b/Source/modules/serviceworkers/FetchEventInit.idl
@@ -2,7 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#registration-option-list-dictionary
-dictionary RegistrationOptions {
- USVString scope;
+// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#fetch-event-interface
+
+dictionary FetchEventInit : EventInit {
+ Request request;
+ boolean isReload = false;
};

Powered by Google App Engine
This is Rietveld 408576698