mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
d2db0a255a
Popup debugging (bug 1569859) will force to revisit how we filter out the BrowsingContext that are meant to be debugged. We won't only accept BrowsingContext based on their browserId. This would force us to carefuly review all the codes where we filter BrowsingContexts. And if we later have to tweak this, do this again. It would be nice to have a unique method to filter things out. It will also be beneficial once we add new debuggable contexts like workers as we would only have to tweak this method. For now, this patch focuses only on Target helpers and JSWindowActor's, but I'll followup to other server modules. Note that I'm changing the behavior of getAllRemoteBrowsingContexts in order to also return the top browsing context by default. We were having a few places where we were re-adding it after, but that's not trivial. It is easier to remove it in the rare function that need that. Differential Revision: https://phabricator.services.mozilla.com/D134422 |
||
---|---|---|
.. | ||
client | ||
docs | ||
perfdocs | ||
platform | ||
server | ||
shared | ||
startup | ||
.eslintrc.js | ||
.eslintrc.xpcshell.js | ||
CODE_OF_CONDUCT.md | ||
moz.build | ||
templates.mozbuild | ||
tsconfig.json |