dom/apps/tests/chromeAddCert.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/apps/tests/chromeAddCert.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,10 @@
     1.4 +const Ci = Components.interfaces;
     1.5 +const Cc = Components.classes;
     1.6 +const Cu = Components.utils;
     1.7 +
     1.8 +Cu.import("resource://gre/modules/StoreTrustAnchor.jsm");
     1.9 +
    1.10 +// This is all that's needed now
    1.11 +TrustedRootCertificate.index = Ci.nsIX509CertDB.AppXPCShellRoot;
    1.12 +
    1.13 +sendAsyncMessage("addCertCompleted");

mercurial