I'm adding desktop interaction to an existing webapp using AIR.
The webapp allows portlets to be undocked into their own window using a scripted "window.open" call.
When running the webapp in AIR, the "window.open" call is blocked (window ref returned is "undefined").
Presumably AIR is detecting the invocation of "window.open" isn't directly linked to the mouse click event.
With a "standard" browser, you can configure the popup blocker to allow popups for urls specified as Exceptions.
Is there a way to do this in AIR ? (either by config or by overriding one of the AIR classes).
I've looked at using a custom HtmlHost but the popup blocking occurs before the HtmlHost.createWindow () call
I couldn't find a way to customize the pop-up blocker in AIR.
I tested the same thing with Safari 4.0.5 (AIR uses WebKit 4.0.3) and got the same result.