Hi Boris,
> > ...current caps implementation checks first if you have
> > signed.applets.codebase_principal_support enabled. If not enabled, caps
> > do not check if the user accepted or not the capabilities in the past.
>
> Oh, right. You need to s/codebase/codebaseTrusted/ in those preference
> names.
Great. I've check it and works like a charm. Thanks Boris.
For those reaching this thread, the following is an example of user
preferences (prefs.js) granting access to a particular site without
having signed.applets.codebase_principal_support enabled:
user_pref("capability.principal.codebaseTrusted.p1.granted",
"UniversalXPConnect");
user_pref("capability.principal.codebaseTrusted.p1.id",
"http://jsvortex-regtest");
user_pref("capability.principal.codebaseTrusted.p1.subjectName", "");
Cheers!
> -Boris
--
Francis Brosnan Blazquez <[email protected]>
ASPL
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network