dom/apps/tests/chromeAddCert.js

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 const Ci = Components.interfaces;
     2 const Cc = Components.classes;
     3 const Cu = Components.utils;
     5 Cu.import("resource://gre/modules/StoreTrustAnchor.jsm");
     7 // This is all that's needed now
     8 TrustedRootCertificate.index = Ci.nsIX509CertDB.AppXPCShellRoot;
    10 sendAsyncMessage("addCertCompleted");

mercurial