Boris Zbarsky wrote:
Zeeshan wrote:
Does anybody here know a simple way of doing this?

QI to nsIDOMDocumentView and get the defaultView... Although it's not completely guaranteed that this will continue to work, pending some W3C standardization activity.

-Boris

Boris,
If this does not continue to work, are you aware of any plans to add a method to the nsIDOMDocument to get the nsIDOMWindow directly (kinda like the nsIDOMWindow::GetDocument () to get the nsIDOMDocument)? Or at least a suitable workaround? Thanks for your time.

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

Reply via email to