Hi,

We have an embedded Gecko application (coded in VC++) which was ported
from Gecko 1.8.2 to 1.9.2. In this application we have a use case
where we have a web page loaded into the Gekco embedded area in the
main client window and any links that open a separate tab/window in
browser (Anchors with _blank target or window.open calls) have to be
opened a separate client window in our client. We are already doing
this by getting the nsIWindowCreator::CreateChromeWindow callback, and
setting up a new client window with an instance of nsIWebbrowser
associated with it and this is absolutely working fine for this.

The issue we are facing is that with Gecko 1.9.2, the embedded browser
instances in the child client windows seem to be sharing the same
session as the browser instance in the main client window. Any session
vars in the links should be specific to the browser instance of the
client window in which it is being opened, but this is not case and
the session vars are getting applied to the main client window as
well. This was not happening with 1.8.2 though.

I understand that even in Firefox, the windows launched from the same
instance share the session data, but is there any way to get around
our issue? Basically we want the browser instance in child client
window to open the links in its own session without effecting the
session of the browser in main client window.
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to