If your extension is written in C++ and you're compiling your project
against the 2.x SDK then your are going to have a problem due to the
fact that IID for "nsIHttpChannelInternal" interface has changed
between the two versions. This will result in do_QueryInterface
failing thus returning a NULL pointer when you run your extension
under firefox 3.0 beta 5

The solution would be to query the interface using the 2.x IID for
firefox 2.x otherwise use the 3.0 beta 5 interface IID.

Please note that the IID will change when RC1 is released due to the
fact that the interface is not frozen.

-Jens


On Thu, May 15, 2008 at 7:54 AM, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
> CoolPrasad wrote:
>> but now when I tested the same extension with Firefox 3.0 Beta 5,
>> I couldnt get the interface pointer and hence the version.
>
> How exactly are you getting the interface pointer?
>
> Nothing about this interface has changed since August 2006 or so, as far as I
> can tell...
>
> -Boris
> _______________________________________________
> dev-tech-network mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-network
>
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to