[Project_owners] Flashblock prefobservers and Deer Park Alpha 1

Didier Ernotte didier at ernotte.com
Tue Jun 14 08:50:41 EDT 2005


why not simply test if
"...getService(Components.interfaces.nsIPrefBranch2) is null or not ?

Didier

--- Philip Chee <philip at aleytys.pc.my> wrote:

> I've just tested the current (CVS) flashblock with Deer Park Alpha1
> (FF1.1)
> and it seems to be working fine - except that if any of our
> preferences are
> changed, these changes are not recognised until the browser is
> restarted.
> 
> It seems that our prefObservers are not getting triggered or
> something.
> There are no errors or assertions cropping up in the javascript
> console.
> Anybody else notice something similar?
> 
> I know that nsIPrefBranchInternal has been renamed to nsIPrefBranch2
> but
> should still be available in Gecko 1.8 for backwards compatibility.
> 
> Also how do I test for the existance of nsIPrefBranch2 so that I can
> make
> use of it in FF 1.1?
> 
> Thanks!
> 
> Phil
> 
> -- 
> Philip Chee <philip at aleytys.pc.my>
> Guard us from the she-wolf and the wolf, and guard us from the thief,
> oh Night, and so be good for us to pass.
> [ ]Software Independent: Won't work with any software.
> * TagZilla 0.058
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
> 



More information about the Project_owners mailing list