Bug 1509038 - Set allowChromeProcess to true when starting local DebuggerServer;r=daisuke
authorJulian Descottes <jdescottes@mozilla.com>
Wed, 12 Dec 2018 13:25:52 +0000
changeset 450257 2270b8df4dc69790c0cd0b70f2a38621ef652076
parent 450256 16264280c0ee652fda2b56ad3726211ae78870e5
child 450258 25d0bf121f26c5dd3645a6483c395d123d2dab7f
push id74574
push userjdescottes@mozilla.com
push dateWed, 12 Dec 2018 13:27:09 +0000
treeherderautoland@25d0bf121f26 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdaisuke
bugs1509038
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 1509038 - Set allowChromeProcess to true when starting local DebuggerServer;r=daisuke Depends on D14075. allowChromeProcess will allow to retrieve workers from children processes Differential Revision: https://phabricator.services.mozilla.com/D14077
devtools/client/aboutdebugging-new/src/modules/runtime-client-factory.js
--- a/devtools/client/aboutdebugging-new/src/modules/runtime-client-factory.js
+++ b/devtools/client/aboutdebugging-new/src/modules/runtime-client-factory.js
@@ -11,16 +11,18 @@ const { ClientWrapper } = require("./cli
 const { remoteClientManager } =
   require("devtools/client/shared/remote-debugging/remote-client-manager");
 
 const { RUNTIMES } = require("../constants");
 
 async function createLocalClient() {
   DebuggerServer.init();
   DebuggerServer.registerAllActors();
+  DebuggerServer.allowChromeProcess = true;
+
   const client = new DebuggerClient(DebuggerServer.connectPipe());
   await client.connect();
   return new ClientWrapper(client);
 }
 
 async function createNetworkClient(host, port) {
   const transport = await DebuggerClient.socketConnect({ host, port });
   const client = new DebuggerClient(transport);