OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/index.html#ex
tendablemessage-event-section | 5 // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#ex
tendablemessage-event-section |
6 | 6 |
7 [ | 7 [ |
8 RuntimeEnabled=ServiceWorkerExtendableMessageEvent, | 8 RuntimeEnabled=ServiceWorkerExtendableMessageEvent, |
9 ] dictionary ExtendableMessageEventInit : ExtendableEventInit { | 9 ] dictionary ExtendableMessageEventInit : ExtendableEventInit { |
10 // TODO(nhiroki): Implement these attributes (crbug.com/543198). | 10 any data; |
11 // any data; | 11 DOMString origin; |
12 // DOMString origin; | 12 DOMString lastEventId; |
13 // DOMString lastEventId; | 13 (Client or ServiceWorker or MessagePort)? source; |
14 // (Client or ServiceWorker or MessagePort)? source; | 14 sequence<MessagePort>? ports; |
15 // sequence<MessagePort>? ports; | |
16 }; | 15 }; |
OLD | NEW |