3 ms·
What postMessage() does is immaterial. This is where it should fail, referencing into another domain: obj.postMessage
by lolc 11y ago
What postMessage() does is immaterial. This is where it should fail, referencing into another domain:
obj.postMessage
- twiss 11y agoNo, that shouldn't fail. `postMessage` is not a random function defined inside the window at ssl.comodo.com. It's a function defined by the browser, available on every Window object, including ones returned by window.open(): https://developer.mozilla.org/docs/Web/API/Window/postMessage https://developer.mozilla.org/docs/Web/API/Window/postMessag...
- lolc 11y agoThanks for the correction. I didn't know postMessage() was special. Now I too am confused as to why the browser should be to blame here.