I open a link by calling window.open()
I then get the following error in Google Chrome:
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://editorial.outbrain.com') does not match the recipient window's origin ('https://example.com').
What is causing this error to happen, and how can I address it?
You can recreate this error by visiting this JSFiddle (you'll have to enable pop-ups).