MCPcopy
hub / github.com/philc/vimium / postMessage

Function postMessage

pages/ui_component_messenger.js:48–51  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

46}
47
48export 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

Callers 1

Calls 1

postMessageMethod · 0.80

Tested by

no test coverage detected