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

Side by Side Diff: Source/modules/serviceworkers/ExtendableMessageEvent.idl

Issue 1156703003: ServiceWorker: Introduce ExtendableMessageEvent to replace MessageEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update Created 5 years, 5 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#serviceworke rmessage-event-interface 5 // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#extendableme ssage-event-interface
6 6
7 [ 7 [
8 Constructor(DOMString type, optional ServiceWorkerMessageEventInit eventInit Dict), 8 Constructor(DOMString type, optional ExtendableMessageEventInit eventInitDic t),
9 Exposed=(Window, Worker), 9 Exposed=ServiceWorker,
10 RuntimeEnabled=ServiceWorker, 10 RuntimeEnabled=ServiceWorker,
11 ] interface ServiceWorkerMessageEvent : Event { 11 ] interface ExtendableMessageEvent : ExtendableEvent {
12 [Custom=Getter] readonly attribute any data;
13 readonly attribute DOMString origin; 12 readonly attribute DOMString origin;
14 readonly attribute DOMString lastEventId; 13 readonly attribute DOMString lastEventId;
15 readonly attribute (ServiceWorker or MessagePort)? source; 14 readonly attribute (Client or ServiceWorker or MessagePort)? source;
15 [Custom=Getter] readonly attribute any data;
16 readonly attribute MessagePort[]? ports; 16 readonly attribute MessagePort[]? ports;
17 }; 17 };
OLDNEW
« no previous file with comments | « Source/modules/serviceworkers/ExtendableMessageEvent.cpp ('k') | Source/modules/serviceworkers/ExtendableMessageEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698