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

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

Issue 1130113006: ServiceWorker: Introduce ServiceWorkerMessageEvent to replace MessageEvent (3/3). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: address #4, #14 Created 5 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: Source/modules/serviceworkers/ServiceWorkerMessageEventInit.idl
diff --git a/Source/modules/serviceworkers/FetchEventInit.idl b/Source/modules/serviceworkers/ServiceWorkerMessageEventInit.idl
similarity index 50%
copy from Source/modules/serviceworkers/FetchEventInit.idl
copy to Source/modules/serviceworkers/ServiceWorkerMessageEventInit.idl
index d5755ad38803d3bf32e9a8ca0f60204c954cf47b..ee195feaff717c4af5a7ae95a862222f971faa29 100644
--- a/Source/modules/serviceworkers/FetchEventInit.idl
+++ b/Source/modules/serviceworkers/ServiceWorkerMessageEventInit.idl
@@ -2,10 +2,12 @@
// 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#fetch-event-interface
+// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#serviceworkermessage-event-section
-dictionary FetchEventInit : ExtendableEventInit {
- Request request;
- Client client;
- boolean isReload = false;
+dictionary ServiceWorkerMessageEventInit : EventInit {
haraken 2015/05/26 00:25:52 This is a question against the spec, but why doesn
jungkees 2015/05/27 10:51:33 falken brought me here. Subclassing MessageEvent
+ any data;
+ DOMString origin;
+ DOMString lastEventId;
+ (ServiceWorker or MessagePort)? source;
+ sequence<MessagePort> ports;
};
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerMessageEvent.idl ('k') | public/platform/WebServiceWorkerProviderClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698