gecko/dom/apps/tests/chromeAddCert.js

11 lines
291 B
JavaScript
Raw Normal View History

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");