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

Side by Side 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: make union type only on stack Created 5 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#serviceworke rmessage-event-init-dictionary
6
7 dictionary ServiceWorkerMessageEventInit : EventInit {
8 any data;
9 DOMString origin;
10 DOMString lastEventId;
11 (ServiceWorker or MessagePort)? source;
12 sequence<MessagePort> ports;
haraken 2015/06/25 04:18:49 Is it intentional that you use sequence<MessagePor
xiang 2015/06/29 02:32:24 Yes, this's defined by spec to use "sequence" in S
haraken 2015/06/29 02:37:14 +bashi@: Is it common to use a sequence in an Even
13 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698