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://github.com/mkruisselbrink/navigator-connect/blob/gh-pages/docs/api-id
ea.md#persisted-messageports | 5 // https://github.com/mkruisselbrink/navigator-connect/blob/gh-pages/docs/api-id
ea.md#persisted-messageports |
6 // TODO(mek): Link to actual spec when this is added there. | 6 // TODO(mek): Link to actual spec when this is added there. |
7 [ | 7 [ |
8 Exposed=ServiceWorker, | 8 Exposed=ServiceWorker, |
| 9 GarbageCollected, |
9 RuntimeEnabled=NavigatorConnect, | 10 RuntimeEnabled=NavigatorConnect, |
10 TypeChecking=Interface, | 11 TypeChecking=Interface, |
11 ] interface StashedPortCollection : EventTarget { | 12 ] interface StashedPortCollection : EventTarget { |
12 [CallWith=ScriptState] StashedMessagePort add(USVString name, MessagePort po
rt); | 13 [CallWith=ScriptState] StashedMessagePort add(USVString name, MessagePort po
rt); |
13 // Promise<sequence<StashedMessagePort>> match(UVString name); | 14 // Promise<sequence<StashedMessagePort>> match(UVString name); |
14 attribute EventHandler onmessage; | 15 attribute EventHandler onmessage; |
15 }; | 16 }; |
OLD | NEW |