OLD | NEW |
(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://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. |
| 7 [ |
| 8 Exposed=ServiceWorker, |
| 9 RuntimeEnabled=NavigatorConnect, |
| 10 TypeChecking=Interface, |
| 11 ] interface StashedPortCollection : EventTarget { |
| 12 [CallWith=ScriptState] StashedMessagePort add(USVString name, MessagePort po
rt); |
| 13 // Promise<sequence<StashedMessagePort>> match(UVString name); |
| 14 attribute EventHandler onmessage; |
| 15 }; |
OLD | NEW |