Bug 1510654 - Remove request API from client wrapper;r=ladybenko
authorJulian Descottes <jdescottes@mozilla.com>
Thu, 10 Jan 2019 17:29:24 +0000
changeset 510412 ab1bfb032425503fe0b2a4b9abd888e40882d2cc
parent 510411 08b043c4ef1b2a1a90b213ab407bd0f2fc497259
child 510413 bd2cb6b0a391056bd88a2e0d00577a80a3fef4fa
push id10547
push userffxbld-merge
push dateMon, 21 Jan 2019 13:03:58 +0000
treeherdermozilla-beta@24ec1916bffe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersladybenko
bugs1510654
milestone66.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 1510654 - Remove request API from client wrapper;r=ladybenko Depends on D15378. This is an additional cleanup I forgot to include in the earlier patches. We no longer use the request API in about:debugging so we can remove it from our wrapper. Differential Revision: https://phabricator.services.mozilla.com/D16022
devtools/client/aboutdebugging-new/src/modules/client-wrapper.js
--- a/devtools/client/aboutdebugging-new/src/modules/client-wrapper.js
+++ b/devtools/client/aboutdebugging-new/src/modules/client-wrapper.js
@@ -127,20 +127,16 @@ class ClientWrapper {
 
     return {
       otherWorkers: other,
       serviceWorkers: service,
       sharedWorkers: shared,
     };
   }
 
-  async request(options) {
-    return this.client.request(options);
-  }
-
   async close() {
     return this.client.close();
   }
 
   isClosed() {
     return this.client._closed;
   }
 }