Bug 1497457 - Fix aboutdebugging systemaddons test after signature change; r=fix
☠☠ backed out by a6eccac5baa2 ☠ ☠
authorJulian Descottes <jdescottes@mozilla.com>
Mon, 26 Nov 2018 22:18:18 +0100
changeset 504565 d3b46f3a0306aaf4dda9f47fb4f02bc66f3ba562
parent 504564 0c537d7bf40a6dff095bf73dfa1a7455ef02956f
child 504566 03ab2d6df92839d1f27014742ea7bab26b7778ed
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfix
bugs1497457
milestone65.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 1497457 - Fix aboutdebugging systemaddons test after signature change; r=fix
devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_system_addons.js
--- a/devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_system_addons.js
+++ b/devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_system_addons.js
@@ -54,17 +54,17 @@ add_task(async function testShowSystemAd
 // Create a basic mock for this-firefox client, and setup a runtime-client-factory mock
 // to return our mock client when needed.
 function setupThisFirefoxMock() {
   const runtimeClientFactoryMock = createRuntimeClientFactoryMock();
   const thisFirefoxClient = createThisFirefoxClientMock();
   runtimeClientFactoryMock.createClientForRuntime = runtime => {
     const { RUNTIMES } = require("devtools/client/aboutdebugging-new/src/constants");
     if (runtime.id === RUNTIMES.THIS_FIREFOX) {
-      return { clientWrapper: thisFirefoxClient };
+      return thisFirefoxClient;
     }
     throw new Error("Unexpected runtime id " + runtime.id);
   };
 
   info("Enable mocks");
   enableRuntimeClientFactoryMock(runtimeClientFactoryMock);
   registerCleanupFunction(() => {
     disableRuntimeClientFactoryMock();