[xul-interop] Error when opening the extensions manager from Xul app

Tom Brito <[email protected]> Thu, 21 Oct 2010 10:29:37 -0200
Newsgroups gmane.comp.lang.xul.general
Message-ID <[email protected]>
--===============1838327572725189967==
Content-Type: multipart/alternative; boundary=0016e65b61c41a641104931fafbc

--0016e65b61c41a641104931fafbc
Content-Type: text/plain; charset=ISO-8859-1

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
*

--0016e65b61c41a641104931fafbc
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf-8">Wh=
en I open the extensions manager in my Xul app using:<br><blockquote class=
=3D"webkit-indent-blockquote" style=3D"margin: 0 0 0 40px; border: none; pa=
dding: 0px;">

<span class=3D"Apple-style-span" style=3D"font-size: 14px; border-collapse:=
 collapse; line-height: 18px; "><span class=3D"Apple-style-span" style=3D"b=
order-collapse: separate; line-height: normal; font-size: small;"><font cla=
ss=3D"Apple-style-span" face=3D"&#39;courier new&#39;, monospace"><br>

app =3D &quot;chrome://mozapps/content/extensions/extensions.xul&quot;;<br>=
</font></span></span><font class=3D"Apple-style-span" face=3D"&#39;courier =
new&#39;, monospace">window.open(app,&#39;Test&#39;,&#39;chrome, width=3D64=
0, height=3D480&#39;).moveTo(0,0);<br>

<br></font></blockquote>I get the following error in the javascript console=
:<div><br><blockquote class=3D"webkit-indent-blockquote" style=3D"margin: 0=
 0 0 40px; border: none; padding: 0px;"><font class=3D"Apple-style-span" fa=
ce=3D"&#39;courier new&#39;, monospace">Error: uncaught exception: [Excepti=
on... &quot;Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTE=
D) [nsIPrefBranch2.getBoolPref]&quot; nsresult: &quot;0x8000ffff (NS_ERROR_=
UNEXPECTED)&quot; location: &quot;JS frame :: chrome://mozapps/content/exte=
nsions/extensions.js :: updateGlobalCommands :: line 2388&quot; data: no]<b=
r>

<br></font></blockquote>Any idea what&#39;s this?<br><br>ps. The extensions=
 manager opens and works well, but I&#39;m worried with this error message.=
<br><div><br></div><div><br></div><i><div style=3D"text-align:left"><span s=
tyle=3D"font-style:normal"><i>Wellington B. de Carvalho</i></span></div>

</i><br>
</div>

--0016e65b61c41a641104931fafbc--


--===============1838327572725189967==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
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
--===============1838327572725189967==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
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

--===============1838327572725189967==--