You can open file extensions.js and see line 2388
Find file toolkit.jar under your mozilla/chrome folder, unpack it and find
file
/content/mozapps/extensions/extensions.js
I think the error occures on line
if (!gInstalling && (gPendingActions ||
gPref.getBoolPref(PREF_EXTENSIONS_DSS_SWITCHPENDING)))
where
const PREF_EXTENSIONS_DSS_SWITCHPENDING = "extensions.dss.switchPending";

So, i think in your case gInstalling is false, so it checks by some reason
an absent preference.
Try to find out how this variable being set.


On Thu, Oct 21, 2010 at 4:29 PM, Tom Brito <[email protected]> wrote:

> When I open the extensions manager in my Xul app using:
>
>
> app = "chrome://mozapps/content/extensions/extensions.xul";
> window.open(app,'Test','chrome, width=640, height=480').moveTo(0,0);
>
> I get the following error in the javascript console:
>
> Error: uncaught exception: [Exception... "Component returned failure code:
> 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch2.getBoolPref]" nsresult:
> "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame ::
> chrome://mozapps/content/extensions/extensions.js :: updateGlobalCommands ::
> line 2388" data: no]
>
> Any idea what's this?
>
> ps. The extensions manager opens and works well, but I'm worried with this
> error message.
>
>
> *
> Wellington B. de Carvalho
> *
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> XUL News Wire      - http://xulnews.com
> XUL Job Postings   - http://xuljobs.com
> Open XUL Alliance - http://xulalliance.org
> _______________________________________________
> xul-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xul-talk
>
>
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
XUL News Wire      - http://xulnews.com
XUL Job Postings   - http://xuljobs.com
Open XUL Alliance - http://xulalliance.org  
_______________________________________________
xul-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xul-talk

Reply via email to