Boris Zbarsky wrote: > [EMAIL PROTECTED] wrote: > >>From XPCOM reference,wm.getMostRecentWindow return a > > Components.interfaces.nsIDOMWindowInternal object. > > > > But i can not find out getBrowser() in this Interface? > > It's not on an interface. It's a function defined in some JS file loaded by > the > XUL in that window (eg browser.js for Firefox). It can be called from JS > because we're working directly with the Window's JSObject. > > -Boris
Thanks Boris I found it in browser.js _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
