Bug 1570987 - Remove unsused getWebConsoleClient from serviceContainer. r=gl.
authorNicolas Chevobbe <nchevobbe@mozilla.com>
Fri, 02 Aug 2019 14:30:11 +0000
changeset 485958 ee3b704f5009d1234dba2bb36914d11230724926
parent 485957 236dacd806bfa15bd56b9addef37b2e2ed62e8f0
child 485959 d780672e184a445f70d63643fce313e75d5da3c9
push id91558
push usernchevobbe@mozilla.com
push dateFri, 02 Aug 2019 14:55:35 +0000
treeherderautoland@ee3b704f5009 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgl
bugs1570987
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 1570987 - Remove unsused getWebConsoleClient from serviceContainer. r=gl. Differential Revision: https://phabricator.services.mozilla.com/D40428
devtools/client/webconsole/webconsole-wrapper.js
--- a/devtools/client/webconsole/webconsole-wrapper.js
+++ b/devtools/client/webconsole/webconsole-wrapper.js
@@ -148,20 +148,16 @@ class WebConsoleWrapper {
         releaseActor: actor => {
           if (!actor) {
             return null;
           }
 
           return debuggerClient.release(actor);
         },
 
-        getWebConsoleClient: () => {
-          return webConsoleUI.webConsoleClient;
-        },
-
         /**
          * Retrieve the FrameActor ID given a frame depth, or the selected one if no
          * frame depth given.
          *
          * @return { frameActor: String|null, client: Object }:
          *         frameActor is the FrameActor ID for the given frame depth
          *         (or the selected frame if it exists), null if no frame was found.
          *         client is the WebConsole client for the thread the frame is