зеркало из https://github.com/mozilla/gecko-dev.git
11 строки
291 B
JavaScript
11 строки
291 B
JavaScript
const Ci = Components.interfaces;
|
|
const Cc = Components.classes;
|
|
const Cu = Components.utils;
|
|
|
|
Cu.import("resource://gre/modules/StoreTrustAnchor.jsm");
|
|
|
|
// This is all that's needed now
|
|
TrustedRootCertificate.index = Ci.nsIX509CertDB.AppXPCShellRoot;
|
|
|
|
sendAsyncMessage("addCertCompleted");
|