Bug 1567695 - Port bug 1566457: devtools is no longer exported from Loader.jsm. rs=bustage-fix
authorJorg K <jorgk@jorgk.com>
Sun, 21 Jul 2019 09:25:00 +0200
changeset 35413 7d4f49bb227f604796303b89c7cb1ce7e2ca7f91
parent 35412 e94d7ea656dc7f32c197fc9a0386f7153a1cee7a
child 35414 36d7b0809b4bfd8606a1f01d407c4d78d3693a07
push id2486
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:24:43 +0000
treeherdercomm-beta@1b30a9a6e7f6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage-fix
bugs1567695, 1566457
Bug 1567695 - Port bug 1566457: devtools is no longer exported from Loader.jsm. rs=bustage-fix
mail/base/content/mailWindowOverlay.js
--- a/mail/base/content/mailWindowOverlay.js
+++ b/mail/base/content/mailWindowOverlay.js
@@ -30,18 +30,18 @@ var {TagUtils} = ChromeUtils.import("res
 var {MessageArchiver} = ChromeUtils.import("resource:///modules/MessageArchiver.jsm");
 
 var {BrowserToolboxProcess} = ChromeUtils.import("resource://devtools/client/framework/ToolboxProcess.jsm");
 var {ScratchpadManager} = ChromeUtils.import("resource://devtools/client/scratchpad/scratchpad-manager.jsm");
 var {ExtensionParent} = ChromeUtils.import("resource://gre/modules/ExtensionParent.jsm");
 var {ExtensionSupport} = ChromeUtils.import("resource:///modules/ExtensionSupport.jsm");
 Object.defineProperty(this, "HUDService", {
   get() {
-    let { devtools } = ChromeUtils.import("resource://devtools/shared/Loader.jsm");
-    return devtools.require("devtools/client/webconsole/hudservice").HUDService;
+    let { loader } = ChromeUtils.import("resource://devtools/shared/Loader.jsm");
+    return loader.require("devtools/client/webconsole/hudservice").HUDService;
   },
   configurable: true,
   enumerable: true,
 });
 
 var ADDR_DB_LARGE_COMMIT = 1;
 
 var kClassicMailLayout = 0;