michael@0: const Ci = Components.interfaces; michael@0: const Cc = Components.classes; michael@0: const Cu = Components.utils; michael@0: michael@0: Cu.import("resource://gre/modules/StoreTrustAnchor.jsm"); michael@0: michael@0: // This is all that's needed now michael@0: TrustedRootCertificate.index = Ci.nsIX509CertDB.AppXPCShellRoot; michael@0: michael@0: sendAsyncMessage("addCertCompleted");