Commit Graph
2 Commits
Author SHA1 Message Date
Mark Banner b38cd3110b Bug 1999554 - Automatically fix ESLint rule jsdoc/check-types for devtools/. r=devtools-reviewers,devtools-backward-compat-reviewers,profiler-reviewers,canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D272173
2025-11-21 16:16:08 +00:00
Alexandre Poirot 480a1dc9a9 Bug 1923903 - [devtools] Use ObjectActorPool to instantiate and collect all Object Actors. r=devtools-reviewers,bomsy
This dedicated pool class shared by all the actors instantiating Object Actors
(console, thread and tracer actors) is going to later help reuse the same
WeakMap logic to instantiate only one actor per unique JS value.

I also merged console and target actor to use the same pool
as they basically have the same lifecycle. This simplify lookups
by Actor IDs done for selected object actor or console table objects.

Differential Revision: https://phabricator.services.mozilla.com/D225235
2024-10-17 12:24:11 +00:00