On Tue, Apr 9, 2013 at 10:37 AM, Chuck Lee <[email protected]> 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.
>

Welcome to B2G. We tried to get rid of XUL in this project -- hence all the
complexity.
All the dialogs are supposed to be rendered in Gaia.

XUL is the Mozilla technology to abstract native UIs on difference OSes;
since we are working on a web technologies-based OS and we own the OS, we
have moved away from XUL and embraces Web/HTML based UIs.


>
>     Anyway, is it possible possible to make XUL dialogs of NSS work on b2g
> platform?
> ______________________________**_________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/**listinfo/dev-b2g<https://lists.mozilla.org/listinfo/dev-b2g>
>



-- 
Tim Guan-tin Chien, Senior Front-end Dev., Mozilla Corp. (Taiwan)
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to