gecko-dev/devtools
Nicolas Chevobbe 581f3fd2ca Bug 1706094 - [devtools] Set watchedByDevTools browsingContextflag in the parent process. r=ochameau.
We're using frame-helper#createTargets to set the flag as we're already looping
over the browsing context we need to handle.
We keep a Map of watcher/observer so we can remove the observer when the targets
get destroyed.

For the browser toolbox top-level browsing context we keep setting the flag in
the browsing context target actor as it lives in the parent process, and we
don't have watcher support enabled by default, so frame-helper wouldn't be hit.
frame-helper is not used in the legacy browser toolbox, so we won't set the flag
on tabs when devtools.browsertoolbox.fission is false, but that's okay it's not
currently set anyway in this setup.

Tests are added with multiple cases to ensure the flag is set in different situations.

Differential Revision: https://phabricator.services.mozilla.com/D113628
2021-05-05 08:04:24 +00:00
..
client Bug 1706094 - [devtools] Set watchedByDevTools browsingContextflag in the parent process. r=ochameau. 2021-05-05 08:04:24 +00:00
docs Bug 1698541 - [devtools] Stop emitting now unused tabDetached event. r=nchevobbe,devtools-backward-compat-reviewers 2021-04-13 13:44:25 +00:00
platform Bug 1676365 - Move SpinEventLoopUntil to separate header. r=#xpcom-reviewers 2020-11-23 16:10:41 +00:00
server Bug 1706094 - [devtools] Set watchedByDevTools browsingContextflag in the parent process. r=ochameau. 2021-05-05 08:04:24 +00:00
shared Backed out 2 changesets (bug 1708635) for causing dt failures in devtools/client/responsive/test/browser/browser_device_change. CLOSED TREE 2021-05-04 18:11:27 +03:00
startup Backed out changeset e01ec8694924 (bug 1700957) as requested. CLOSED TREE 2021-04-28 18:09:01 +03:00
.eslintrc.js Bug 1705536 - [devtools] Add linter errors when using componentDidUnmount r=bomsy 2021-04-16 14:00:37 +00:00
.eslintrc.xpcshell.js
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