Bug 1551183: Follow-up: Disable app-scoped add-ons in cert_storage test. r=me a=test-only
☠☠ backed out by 3b4af55e6edc ☠ ☠
authorKris Maglione <maglione.k@gmail.com>
Thu, 06 Jun 2019 13:11:42 -0700
changeset 536735 092bef8c0d6e514b3ad85c6d17a7c66531f63749
parent 536734 259f5bcec259ed020c3612b4278c2ffa184ec77f
child 536736 b623b7cc2ae896249b3067fa66b40d04fcd16c6b
push id2082
push userffxbld-merge
push dateMon, 01 Jul 2019 08:34:18 +0000
treeherdermozilla-release@2fb19d0466d2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, test-only
bugs1551183
milestone68.0
Bug 1551183: Follow-up: Disable app-scoped add-ons in cert_storage test. r=me a=test-only
security/manager/ssl/tests/unit/test_cert_storage.js
--- a/security/manager/ssl/tests/unit/test_cert_storage.js
+++ b/security/manager/ssl/tests/unit/test_cert_storage.js
@@ -11,16 +11,18 @@
 //   cert verifier
 // * it does a sanity check to ensure other cert verifier behavior is
 //   unmodified
 
 const { setTimeout } = ChromeUtils.import("resource://gre/modules/Timer.jsm", {});
 const { RemoteSettings } = ChromeUtils.import("resource://services-settings/remote-settings.js", {});
 const {BlocklistClients} = ChromeUtils.import("resource://services-common/blocklist-clients.js", {});
 
+Services.prefs.setIntPref("extensions.enabledScopes", 1);
+
 // First, we need to setup appInfo for the blocklist service to work
 var id = "xpcshell@tests.mozilla.org";
 var appName = "XPCShell";
 var version = "1";
 var platformVersion = "1.9.2";
 ChromeUtils.import("resource://testing-common/AppInfo.jsm", this);
 /* global updateAppInfo:false */ // Imported via AppInfo.jsm.
 updateAppInfo({