aContext.QueryInterface(Components.interfaces.nsIDOMDocumentView).defaultView = [object Window]
It looks like it that I can use the last line, but I guess that aContext.defaultView is faster, no?
Actually, they should be exactly the same (and the QI should NOT be needed here). Are you really getting null without the QI and non-null with the QI? If so, what Mozilla build is this?
-Boris _______________________________________________ mozilla-embedding mailing list mozilla-embedding@mozilla.org http://mail.mozilla.org/listinfo/mozilla-embedding