Mike Conley wrote:

From the passed in nsIWebProgress[1], you should be able to get at the 
nsIDOMWindow, and from there, I *think* you can get to the nsIDocShell by 
QI'ing the nsIWebProgress to an nsIInterfaceRequestor and then GetInterface'ing 
nsIDocShell. I haven't tried this, but I'm reasonably certain it will work.

You could probably just QI the nsIWebProgress to nsIDocShell directly.

--
Warning: May contain traces of nuts.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to