Bug 1530824 - mark the about:compat process script as intermittently loaded in the browser_startup_content mochitest; r=kmag
authorThomas Wisniewski <twisniewski@mozilla.com>
Sat, 02 Mar 2019 18:42:04 +0000
changeset 520036 1a37e28f12b1bf3fd880333f612243c56f290842
parent 520035 7f427fb15eae1d9addfa9e1db9a548235561ca4d
child 520037 42f9208ed5f3f4c98374661d05c5c74b8df4ff70
child 520042 f05208c48b860a5fd4461e13a1eafc61832326b4
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskmag
bugs1530824
milestone67.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 1530824 - mark the about:compat process script as intermittently loaded in the browser_startup_content mochitest; r=kmag Mark the about:compat process script as intermittently loaded in browser/base/content/test/performance/browser_startup_content.js Differential Revision: https://phabricator.services.mozilla.com/D21316
browser/base/content/test/performance/browser_startup_content.js
--- a/browser/base/content/test/performance/browser_startup_content.js
+++ b/browser/base/content/test/performance/browser_startup_content.js
@@ -81,33 +81,37 @@ const whitelist = {
     "resource://gre/modules/addons/Content.js",
   ]),
   processScripts: new Set([
     "chrome://global/content/process-content.js",
     "resource:///modules/ContentObservers.js",
     "data:,ChromeUtils.import('resource://gre/modules/ExtensionProcessScript.jsm')",
     "resource://devtools/client/jsonview/converter-observer.js",
     "resource://gre/modules/WebRequestContent.js",
-    "resource://webcompat/aboutPageProcessScript.js",
   ]),
 };
 
 // Items on this list are allowed to be loaded but not
 // required, as opposed to items in the main whitelist,
 // which are all required.
 const intermittently_loaded_whitelist = {
   modules: new Set([
     "resource://gre/modules/nsAsyncShutdown.jsm",
     "resource://gre/modules/sessionstore/Utils.jsm",
 
-    // Webcompat about:config front-end
+    // Webcompat about:config front-end. This is presently nightly-only and
+    // part of a system add-on which may not load early enough for the test.
     "resource://webcompat/AboutCompat.jsm",
   ]),
   frameScripts: new Set([]),
-  processScripts: new Set([]),
+  processScripts: new Set([
+    // Webcompat about:config front-end. This is presently nightly-only and
+    // part of a system add-on which may not load early enough for the test.
+    "resource://webcompat/aboutPageProcessScript.js",
+  ]),
 };
 
 const blacklist = {
   services: new Set([
     "@mozilla.org/base/telemetry-startup;1",
     "@mozilla.org/embedcomp/default-tooltiptextprovider;1",
     "@mozilla.org/push/Service;1",
   ]),