I'm using window.postMessage in my application and am getting reports of an exception that I can only explain if the
source of the MessageEvent passed to the event listener is undefined. I haven't found a way to reproduce this locally yet, and don't understand how this can be possible. The only reference I can find to source being undefined has to do with
content scripts, which shouldn't apply here. This appears to happen only in Chrome, and has been observed on versions 21, 22, and 23. Is anyone aware of any boundary conditions that could lead to an undefined message source?
Thanks.