author | Daisuke Akatsuka <dakatsuka@mozilla.com> |
Fri, 07 Dec 2018 14:11:39 +0000 | |
changeset 449611 | 62dd0d1a37b723f368848036c3e650c3ccfb44cf |
parent 449610 | 8a6112888975a607adb7efc694bb7fe9cc5ed618 |
child 449612 | 7b9332b0c24d8f40310d9020693bb2321f32c935 |
push id | 74374 |
push user | dakatsuka@mozilla.com |
push date | Fri, 07 Dec 2018 16:28:35 +0000 |
treeherder | autoland@7b9332b0c24d [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | jdescottes |
bugs | 1506513 |
milestone | 65.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
|
devtools/client/aboutdebugging-new/src/actions/debug-targets.js | file | annotate | diff | comparison | revisions |
--- a/devtools/client/aboutdebugging-new/src/actions/debug-targets.js +++ b/devtools/client/aboutdebugging-new/src/actions/debug-targets.js @@ -61,17 +61,18 @@ function inspectDebugTarget(type, id) { await debugRemoteAddon(id, devtoolsClient); } else if (runtimeType === RUNTIMES.THIS_FIREFOX) { debugLocalAddon(id); } break; } case DEBUG_TARGETS.WORKER: { // Open worker toolbox in new window. - const front = runtimeDetails.client.client.getActor(id); + const devtoolsClient = runtimeDetails.clientWrapper.client; + const front = devtoolsClient.getActor(id); gDevToolsBrowser.openWorkerToolbox(front); break; } default: { console.error("Failed to inspect the debug target of " + `type: ${ type } id: ${ id }`); }