Re: Recover the attributes of "window.open" without new window

Boris Zbarsky <[email protected]>
Newsgroups gmane.comp.mozilla.devel.java
Message-ID <wZ-dnYT6H5KWG67YnZ2dnUVZ_sednZ2d__19872.3516929478$1161009514$gmane$org@mozilla.org>
Nicolas Albert wrote:
> "nsIDocShellTreeItem findItemWithName (PRUnichar* name,
> nsIDocShellTreeItem requestor, nsIDocShellTreeItem
> originalRequestor)" is called

What did you return from this method, if anything?

> I also tested, by preserving truths service "window-watcher", to
> make a "void setWindowCreator (nsIWindowCreator creator)" by
> implementing a "nsIWindowCreator".
> Much IQ is done, but nothing leads to the parameters of the
> "window.open".

You don't get your createChromeWindow method called?  Not that this would see 
the URI anyway....

I do have to wonder exactly what you're doing that needs the URI of 
window.open() without opening the window (and how it handles cases when no URI 
is given).

-Boris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.