Bug 1544694 - remove unused client getters 'request' and '_transport' from sourceClient; r=ochameau,jdescottes
☠☠ backed out by d6cdc1f35851 ☠ ☠
authoryulia <ystartsev@mozilla.com>
Fri, 19 Apr 2019 09:21:56 +0000
changeset 470460 63d133aae187fde835f9f9a0b9f83bdbada8dcd8
parent 470459 fc739beb6782fc83f23b15fc383f7ca5887393bd
child 470461 80a5deca74380b8c01ae7194aba33ff1e8e3df82
push id35906
push useraciure@mozilla.com
push dateTue, 23 Apr 2019 22:14:56 +0000
treeherdermozilla-central@0ce3633f8b80 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersochameau, jdescottes
bugs1544694
milestone68.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 1544694 - remove unused client getters 'request' and '_transport' from sourceClient; r=ochameau,jdescottes Differential Revision: https://phabricator.services.mozilla.com/D27707
devtools/shared/client/source-client.js
--- a/devtools/shared/client/source-client.js
+++ b/devtools/shared/client/source-client.js
@@ -16,25 +16,19 @@ const {arg, DebuggerClient} = require("d
  */
 function SourceClient(client, form) {
   this._form = form;
   this._activeThread = client;
   this._client = client.client;
 }
 
 SourceClient.prototype = {
-  get _transport() {
-    return this._client._transport;
-  },
   get actor() {
     return this._form.actor;
   },
-  get request() {
-    return this._client.request;
-  },
   get url() {
     return this._form.url;
   },
 
   /**
    * Black box this SourceClient's source.
    */
   blackBox: DebuggerClient.requester(