Bug 1484236: Override cert DB for form autofill xpcshell tests. r=rhelmer CLOSED TREE
authorKris Maglione <maglione.k@gmail.com>
Thu, 23 Aug 2018 16:16:11 -0700
changeset 433197 d6eb2c2d5830712ec0632bfec4a1c7c1e7b6cbae
parent 433196 eef3785a6b441e83d392c2569091e969e1eac658
child 433198 9e87552351d5d5aa433c95f20620f2f799ab8a24
push id106993
push usermaglione.k@gmail.com
push dateThu, 23 Aug 2018 23:27:49 +0000
treeherdermozilla-inbound@d6eb2c2d5830 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrhelmer
bugs1484236
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1484236: Override cert DB for form autofill xpcshell tests. r=rhelmer CLOSED TREE Differential Revision: https://phabricator.services.mozilla.com/D4173
browser/extensions/formautofill/test/unit/head.js
--- a/browser/extensions/formautofill/test/unit/head.js
+++ b/browser/extensions/formautofill/test/unit/head.js
@@ -31,16 +31,17 @@ do_get_profile();
 ChromeUtils.import("resource://gre/modules/Timer.jsm");
 Services.scriptloader.loadSubScript("resource://testing-common/sinon-2.3.2.js", this);
 /* globals sinon */
 // ================================================
 
 const EXTENSION_ID = "formautofill@mozilla.org";
 
 AddonTestUtils.init(this);
+AddonTestUtils.overrideCertDB();
 
 async function loadExtension() {
   AddonTestUtils.createAppInfo("xpcshell@tests.mozilla.org", "XPCShell", "1", "1.9.2");
   await AddonTestUtils.promiseStartupManager();
 
   let extensionPath = Services.dirsvc.get("GreD", Ci.nsIFile);
   extensionPath.append("browser");
   extensionPath.append("features");