Bug 1577988 - Don't add toggle.svg to whitelist of unused files if running mochitest devtools. a=test-only-beta70-fix
authorSebastian Hengst <archaeopteryx@coole-files.de>
Sun, 01 Sep 2019 12:40:14 +0200
changeset 491041 f103fcfc4c16c1f3f4afcabf308064274ee06f61
parent 491040 74bee2c675addb12595806d8edafe1fa899550f8
child 491042 b338d55d5007ce5a7d4cdce3aaa8e9f63c5555f7
push id114013
push usercsabou@mozilla.com
push dateSun, 01 Sep 2019 21:52:27 +0000
treeherdermozilla-inbound@b338d55d5007 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only-beta70-fix
bugs1577988
milestone70.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 1577988 - Don't add toggle.svg to whitelist of unused files if running mochitest devtools. a=test-only-beta70-fix Differential Revision: https://phabricator.services.mozilla.com/D44315
browser/base/content/test/static/browser_all_files_referenced.js
--- a/browser/base/content/test/static/browser_all_files_referenced.js
+++ b/browser/base/content/test/static/browser_all_files_referenced.js
@@ -274,17 +274,17 @@ if (!isDevtools) {
     "prefs.js",
     "tabs.js",
     "extension-storage.js",
   ]) {
     whitelist.add("resource://services-sync/engines/" + module);
   }
 }
 
-if (!AppConstants.NIGHTLY_BUILD) {
+if (!AppConstants.NIGHTLY_BUILD && !isDevtools) {
   // Bug 1532703 - only used in HTML-based about:config
   whitelist.add("chrome://browser/skin/toggle.svg");
 }
 
 if (AppConstants.MOZ_CODE_COVERAGE) {
   whitelist.add("chrome://marionette/content/PerTestCoverageUtils.jsm");
 }