gecko-dev/devtools/server
Nicolas Chevobbe 4707300839 Bug 1572414 - Fix hasNativeConsoleAPI when dealing with Sandboxes. r=yulia.
When the console parent actor is a ContentProcessTargetActor, we don't have
a reference to a `nsIDOMWindow`, but only to a Sandbox.
The code in `hasNativeConsoleAPI` would then silently fail when trying to
access `window.wrappedJSObject`, and keep `isNative` as `false`.
For now, we work around this by always returning true if we don't have
access to a `nsIDOMWindow`.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 08:29:07 +00:00
..
actors Bug 1572414 - Fix hasNativeConsoleAPI when dealing with Sandboxes. r=yulia. 2019-08-20 08:29:07 +00:00
connectors Bug 1572436 - Extract connectTo methods from devtools/server/debugger-server r=yulia,ochameau 2019-08-09 09:05:05 +00:00
performance Bug 1564168 - [jsdbg2] Debugger.prototype.enabled should be removed (part 1). r=jimb 2019-07-16 00:56:19 +00:00
socket Bug 1561435 - Format devtools/server/, a=automatic-formatting 2019-07-05 11:26:00 +02: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
tests Bug 1542035 - Add read-only support for extension storage.local in addon debugger r=miker,rpl 2019-08-19 20:16:50 +00:00
debugger-server-connection.js Bug 1452920 - Clean up WebConsoleActor events and responses. r=nchevobbe 2019-08-19 06:57:42 +00:00
debugger-server.js Bug 1572436 - Extract connectTo methods from devtools/server/debugger-server r=yulia,ochameau 2019-08-09 09:05:05 +00:00
moz.build Bug 1572436 - Extract connectTo methods from devtools/server/debugger-server r=yulia,ochameau 2019-08-09 09:05:05 +00:00