the problem is, that "window.addEventListener('message', listener, false)" attached to all "message" events, that will be triggered on hubs window and it is possible, that some other modules calls "postMessage" on hub, so following errors shows up on the browser console:
the problem is, that "window.addEventListener('message', listener, false)" attached to all "message" events, that will be triggered on hubs window and it is possible, that some other modules calls "postMessage" on hub, so following errors shows up on the browser console:
Example: $("#CrossStorageClient-XXX")[0].contentWindow.postMessage("bla", "http://localhost") Error: Uncaught SyntaxError: Unexpected token br._listener @ xshub:11
or
Example: $("#CrossStorageClient-XXX")[0].contentWindow.postMessage('{"bla":"bla"}', "http://localhost") Error: Uncaught TypeError: Cannot read property 'split' of undefinedr._listener @ xshub:11