mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
581f3fd2ca
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 |
||
---|---|---|
.. | ||
client | ||
docs | ||
platform | ||
server | ||
shared | ||
startup | ||
.eslintrc.js | ||
.eslintrc.xpcshell.js | ||
CODE_OF_CONDUCT.md | ||
moz.build | ||
templates.mozbuild | ||
tsconfig.json |