(data)
| 46 | } |
| 47 | |
| 48 | export function postMessage(data) { |
| 49 | if (!ownerPagePort) return; |
| 50 | ownerPagePort.postMessage(data); |
| 51 | } |
| 52 | |
| 53 | // We require both that the DOM is ready and that the port has been opened before the UIComponent |
| 54 | // is ready. These events can happen in either order. We count them, and notify the content script |
no test coverage detected