I have a chrome extension that uses native messaging to send messages between the extension and a local application. Some users have reported errors on certain pages that they receive errors when the extension is enabled.
Specifically some of those pages show that a message from my extension is being interpreted by the page.
Multiple google searches seem to indicate the problem is unique. The extension uses a port object in the background page to send the message as follows:
var message = {
                    pageId : tabId,
                    type   : "request",
                    fnName : request.name,
                    data   : request.data
                };
if (myExtension_port) {
    myExtension_port.postMessage(message);
}
Is there a known solution that I'm missing?
I've already reviewed the chrome extension developer documentation a few times.
