Chromium Code Reviews| OLD | NEW |
|---|---|
| 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/index.html#fe tch-event-interface | 5 // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#serviceworke rmessage-event-section |
| 6 | 6 |
| 7 dictionary FetchEventInit : ExtendableEventInit { | 7 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
| |
| 8 Request request; | 8 any data; |
| 9 Client client; | 9 DOMString origin; |
| 10 boolean isReload = false; | 10 DOMString lastEventId; |
| 11 (ServiceWorker or MessagePort)? source; | |
| 12 sequence<MessagePort> ports; | |
| 11 }; | 13 }; |
| OLD | NEW |