gecko-dev/devtools
Alexandre Poirot d2db0a255a Bug 1745240 - [devtools] Unify target helpers and JS Window actors to use a shared method to filter BrowsingContext/WindowGlobal's. r=nchevobbe,jdescottes
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
2022-01-10 17:42:09 +00:00
..
client Bug 1580599 Add a Fluent string helper to shared-head.js - r=nchevobbe 2022-01-10 17:09:17 +00:00
docs Bug 1743107 - Added support for HWB colors. r=jdescottes,kpatenio 2021-12-19 12:56:01 +00:00
perfdocs Bug 1725399: [perfdocs] Add link to DAMP tests in performance testing index page r=perftest-reviewers,AlexandruIonescu 2021-08-17 13:33:45 +00:00
platform Bug 1731564: Use motivated SpinEventLoopUntil inside devtools/*. r=devtools-reviewers,jdescottes 2021-10-07 08:06:11 +00:00
server Bug 1745240 - [devtools] Unify target helpers and JS Window actors to use a shared method to filter BrowsingContext/WindowGlobal's. r=nchevobbe,jdescottes 2022-01-10 17:42:09 +00:00
shared Bug 1745240 - [devtools] Unify target helpers and JS Window actors to use a shared method to filter BrowsingContext/WindowGlobal's. r=nchevobbe,jdescottes 2022-01-10 17:42:09 +00:00
startup Backed out 2 changesets (bug 371900) for causing bug 1749182 . CLOSED TREE 2022-01-09 16:26:02 +02:00
.eslintrc.js Bug 1741369 - [devtools] Update paths to loader files in devtools/ r=ochameau 2021-11-17 12:43:26 +00:00
.eslintrc.xpcshell.js
CODE_OF_CONDUCT.md
moz.build Bug 1737573 - [devtools] Migrate MDN docs into Sphinx (connect docs to toc + css) r=nchevobbe,ahal 2021-11-03 10:45:52 +00:00
templates.mozbuild
tsconfig.json