gecko-dev/devtools
Nicolas Chevobbe e9634ef8c8 Bug 1441711 - Create multiple proxies when in Fission Browser Console. r=ochameau.
When opening the Browser Console, if the browser toolbox fission pref
is enabled, we create a WebConsoleConnectionProxy for each process.
This allow us to not start the ContentProcessMessages listener (that
uses ContentProcessMessagesForward), but directly connect to the content
process, to get fully inspectable console message, from the Browser Console.

We keep the this.proxy reference in WebConsoleUI to represent the "main" target
proxy, and we add an `additionalProxies` property that represent proxies
for other targets we connect to (e.g. content process targets).
We then have a function to list all the proxies we're handling, in order to
be able to do tasks on all of them (e.g. clearing cache, network message, ...)

We also take this as an opportunity to add a `evaluateJSAsync` at the
WebConsoleUI level so callsites don't retrieve the proxy.webConsoleClient
themselves.

Differential Revision: https://phabricator.services.mozilla.com/D40786

--HG--
extra : moz-landing-system : lando
2019-08-08 13:23:03 +00:00
..
client Bug 1441711 - Create multiple proxies when in Fission Browser Console. r=ochameau. 2019-08-08 13:23:03 +00:00
docs Bug 1572390 - Split main.js in debugger-server and debugger-server-connection r=yulia,ochameau 2019-08-08 12:44:13 +00:00
platform Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
server Bug 1572390 - Split main.js in debugger-server and debugger-server-connection r=yulia,ochameau 2019-08-08 12:44:13 +00:00
shared Bug 1572390 - Split main.js in debugger-server and debugger-server-connection r=yulia,ochameau 2019-08-08 12:44:13 +00:00
startup Bug 1572390 - Split main.js in debugger-server and debugger-server-connection r=yulia,ochameau 2019-08-08 12:44:13 +00:00
.eslintrc.js Bug 1558517 - Pre 3.0: Remove conflicting eslint rules, and turn on "curly: all" everywhere, r=standard8 2019-06-28 17:14:01 +02:00
.eslintrc.mochitests.js
.eslintrc.xpcshell.js
CODE_OF_CONDUCT.md
moz.build
templates.mozbuild