MCPcopy
hub / github.com/mailvelope/mailvelope / postMessage

Function postMessage

src/content-scripts/clientAPI.js:96–100  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

94 }
95 },
96 postMessage(options) {
97 options.mvelo_extension = true;
98 const targetOrigin = getTargetOrigin();
99 window.postMessage(options, targetOrigin);
100 }
101 };
102 clientPort = new EventHandler(port);
103 registerClientEventHandler();

Callers

nothing calls this directly

Calls 2

getTargetOriginFunction · 0.70
postMessageMethod · 0.45

Tested by

no test coverage detected