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