Problem with GetXULWindowEnumerator() API in firefox 3.5

"K.V" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Organization http://groups.google.com
Message-ID <4f5e8d02-3853-4988-b543-a018c352d5dc@x25g2000prf.googlegroups.com>
Hi All,

I have small addon which has following snippet to enumerate
XULWindows.

=============
nsresult result;
nsCOMPtr<nsIWindowMediator> iWindowMediator = do_GetService
(NS_WINDOWMEDIATOR_CONTRACTID, &result);
result = iWindowMediator->GetXULWindowEnumerator(0, getter_AddRefs
(m_ienum));

nsCOMPtr<nsIXULWindow> webShellWindow(do_QueryInterface(pis,
&result));
=============

This is working fine with firefox 3.0 but with firefox 3.5, always
webShellWindow is returned null.
GetXULWindowEnumerator() API returns XULwindows, so I am not able to
understand why webShellWindow is returned null in firefox 3.5.

And also could you please help me with values I can pass for first
parameter in >GetXULWindowEnumerator(x,x) API.

Regards
Srinivas
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.