Hi Chuck,
On 04/08/2013 07:36 PM, Chuck Lee wrote:
> Hi,
> I am studying how to support import CA on WIFI WPA-EAP mode, and I
> seems best way is use NSS.
> I use nsIX509CertDB.importPKCS12File(), it works fine on desktop
> Firefox in my test code.
> But the same code crashes gecko when it shows a dialog asking for
> password. it seems that b2g can't handle XUL dialogs in NSS correctly.
> I am taught to override functions triggering XUL dialogs with a
> system message and an app in gaia to do the same work.
> It do work, but I think it makes things much complex, also against
> what XUL is designed for.
>
> Anyway, is it possible possible to make XUL dialogs of NSS work on
> b2g platform?
No, it's not possible. We decided from the start of b2g to not use XUL
at all, and we won't revert that choice. You should consider gaia's
system app as an "embedder" for gecko, and let it manage all the UI you
need.
Fabrice (can't wait to build with --disable-xul)
--
Fabrice Desré
b2g team
Mozilla Corporation
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g