tenfourfox/dom/apps/tests/chromeAddCert.js

11 lines
285 B
JavaScript
Raw Normal View History

2017-04-19 07:56:45 +00:00
var Ci = Components.interfaces;
var Cc = Components.classes;
var Cu = Components.utils;
Cu.import("resource://gre/modules/StoreTrustAnchor.jsm");
// This is all that's needed now
TrustedRootCertificate.index = Ci.nsIX509CertDB.AppXPCShellRoot;
sendAsyncMessage("addCertCompleted");