nsIDOMWindow::GetDocument() returning null on FF3

"Oliveiros Cristina" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
Dear all,

Is it possible that this attribute returns null even though nothing wrong is reported by the return error code?

NS_FAILED() returns 0.

This situation never arisen on FF2 browser, but its starting to happen with ff3 on some pages....

It seems that DOM Window Objects on FF3 all expose nsIDOMWindow2 interface.
I am accessing GetDocument() through a nsIDOMWindow* pointer. 

Can anyone please kindly help me on this?


Thanks a million in advance for your help

Best,
Oliveiros
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.