Bug 1380827 - Use .client instead of ._client in the debugger panel to fix worker loading;r=jlast draft
authorBrian Grinstead <bgrinstead@mozilla.com>
Thu, 13 Jul 2017 14:47:21 -0700
changeset 608572 85d1a6b93cd48e2d8c33b6fcda887895a1198e07
parent 607503 09a4282d1172ac255038e7ccacfd772140b219e2
child 637356 f7d56a4b559c3e1b10bbf7dd5385aa401ebfe35a
push id68333
push userbgrinstead@mozilla.com
push dateThu, 13 Jul 2017 21:47:30 +0000
reviewersjlast
bugs1380827
milestone56.0a1
Bug 1380827 - Use .client instead of ._client in the debugger panel to fix worker loading;r=jlast MozReview-Commit-ID: IVGx1X9FoQT
devtools/client/debugger/new/panel.js
--- a/devtools/client/debugger/new/panel.js
+++ b/devtools/client/debugger/new/panel.js
@@ -24,17 +24,17 @@ DebuggerPanel.prototype = {
     const {
       actions,
       store,
       selectors,
       client
     } = await this.panelWin.Debugger.bootstrap({
       threadClient: this.toolbox.threadClient,
       tabTarget: this.toolbox.target,
-      debuggerClient: this.toolbox.target._client,
+      debuggerClient: this.toolbox.target.client,
       sourceMaps: this.toolbox.sourceMapService
     });
 
     this._actions = actions;
     this._store = store;
     this._selectors = selectors;
     this._client = client;
     this.isReady = true;