gecko-dev/devtools
Patrick Brosset 86f9daeec8 Bug 1602783 - Retrieve the right inspector front when updating the state of toolbar buttons r=jdescottes
When a page navigation happens, we update the state of the toolbox toolbar buttons
as some of them need to disable themselves then (rulers and measurement tool).

In bug 1500142 the logic to do this was changed to retrieve the right inspector front
instead of always the top-level one, stored at toolbox level.
This is good. However a tiny mistake made its way into the code.
Instead of calling getCachedFront("inspector") the code called
getCachedFront("inspectorFront")

This made it return null, and therefore prevented the rest of the button update logic
to run.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 16:20:43 +00:00
..
client Bug 1602783 - Retrieve the right inspector front when updating the state of toolbar buttons r=jdescottes 2019-12-20 16:20:43 +00:00
docs Bug 1596686 - Use absolute paths for require calls r=gl 2019-12-27 12:23:47 +00:00
platform Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan 2019-12-06 09:16:44 +00:00
server Bug 1450943 - Convert RootActor to protocol.js. r=jdescottes 2020-01-07 09:14:45 +00:00
shared Bug 1450943 - Remove unused helpers from devtools xpcshell tests. r=jdescottes 2020-01-07 09:14:47 +00:00
startup Bug 1565200 - Add frame connector relying on JsWindowActor instead of message manager r=ochameau 2019-12-11 20:09:24 +00:00
.eslintrc.js Bug 1605995 - Add linting rule against relative paths in DevTools require r=Standard8 2020-01-06 12:54:39 +00:00
.eslintrc.mochitests.js
.eslintrc.xpcshell.js
CODE_OF_CONDUCT.md
moz.build Bug 1599027 - Remove http inspector doc. r=Honza. 2019-11-26 08:43:59 +00:00
templates.mozbuild
tsconfig.json Bug 1603351 - Add a tsconfig.json file in devtools root folder. r=gregtatum. 2019-12-16 15:21:03 +00:00