? 2013/4/9 ?? 03:24, Tim Chien ??:
On Tue, Apr 9, 2013 at 10:37 AM, Chuck Lee <[email protected]
<mailto:[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.
I just think there's no contradiction between "use WEB technology to
write apps" and "provide a native HTML UI to support XUL".
Since XUL is a language for abstracting native UIs on "difference OS",
and FxOS is an OS use HTML as natvie UI.
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g