gecko-dev/devtools
Nicolas Chevobbe 7f748ac663 Bug 1714974 - [devtools] Fix BrowserToolbox console going blank when worker target is destroyed. r=ochameau.
Calls to targetFront.isTopLevel can happen after a given target is destroyed, and
in such case `getTrait` was throwing as the `client` property of the target is nullified.
To fix this, we're directly checking if the targetForm has a `isTopLevelTarget`,
and if not, we default to the property we set in `setTargetType`.

Another issue was caused by the `_url` property, used in the `url` getter,
being nullified when in TargetMixin#destroy, which was making the WorkerDescriptor#name
to throw.
We now check that the url isn't null before trying to use it.

Differential Revision: https://phabricator.services.mozilla.com/D117011
2021-06-16 15:20:56 +00:00
..
client Bug 1714974 - [devtools] Fix BrowserToolbox console going blank when worker target is destroyed. r=ochameau. 2021-06-16 15:20:56 +00:00
docs Bug 1715954 - [devtools] Remove in-tree copy of acorn.js r=nchevobbe 2021-06-11 12:56:00 +00:00
platform Bug 1676365 - Move SpinEventLoopUntil to separate header. r=#xpcom-reviewers 2020-11-23 16:10:41 +00:00
server Bug 1707884 - [devtools] Fix grid inspector with Fission cases. r=ochameau. 2021-06-16 11:43:19 +00:00
shared Bug 1714974 - [devtools] Fix BrowserToolbox console going blank when worker target is destroyed. r=ochameau. 2021-06-16 15:20:56 +00:00
startup Bug 1711523 - remove private proton tracking flags in frontend modules, r=mak,emalysz,desktop-theme-reviewers,harry 2021-05-28 19:33:38 +00:00
.eslintrc.js Bug 1714527 - [devtools] Remove unused serviceworker actor code in DevTools server r=nchevobbe,devtools-backward-compat-reviewers 2021-06-07 20:13:26 +00:00
.eslintrc.xpcshell.js Bug 1620537 - Fix eslint issues in devtools .eslintrc*.js files now that ESLint 7 will lint them. r=mossop 2020-07-24 20:39:07 +00:00
CODE_OF_CONDUCT.md
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
templates.mozbuild
tsconfig.json