Bug 1544694 - remove unused client getters 'request' and '_transport' from sourceClient; r=ochameau,jdescottes
authoryulia <ystartsev@mozilla.com>
Fri, 26 Apr 2019 12:43:45 +0000
changeset 530295 9c36551d262a0581a34d7a450bd2284d76f3e8cf
parent 530294 71d3155b4fa79dd6230aa1ab885617e1d2bc2fb3
child 530296 27e6d1a417e2e5b67996c0625868a147b051b7ab
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [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(