ternarylabs/porthole — Issue #7: IE8 caused error: "Porthole: Could not find window proxy object on the target window" while FF works fine
Author: leszekgruchala
Created: 2012-02-08 10:12:33+00:00
State: open

Hi,
I know the demo is working fine on IE7/8, but I am completely unable to make it working with IE8 on my application.
It works fine on Chrome, FF and IE9, but not on IE8.

My parent and iframe uses SSL.

This is what I get on IE9 with IE8 compatibility mode:
```
LOG: Porthole: Using legacy browser support
Porthole: Could not find window proxy object on the target window
```
but it still works well on IE9 and other normal browsers with the same code.

Unfortunately I know JS just a bit, but I google and found an idea to wrap postMessage call in setTimeout:
```
var func = function () {
windowProxy.postMessage('sid=B099000003&msisdn=48791464671');
};
window.setTimeout(func, 0);
```

But it doesn't help. Another strange this is that for pure IE8 I even don't get any LOG message from Porthole on console.

Do you have any idea what might cause the problem? Or anything I could do to help you find it?
Thanks.