In my gecko embedded java application  I do windowWatcher.openWindow()
for different urls ,
windows are opening.After loading completes I do my required operation
and I would like to close the window I opened.

I tried the following does not work.

1. nsIWebBrowserChrome.destroyBrowserWindow()
2. nsIBaseWindow.destroy

I do  a nsIDOMWindowInternal.close() obtained from nsIDOMWindow and
that works.

Is this right way to close the opened child windows?.Let me know
otherwise.


regards,
Krithika

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to