Commit Graph
7 Commits
Author SHA1 Message Date
Alexandre Poirot bfc2aacf35 Bug 1594739 - Test workers listening via the TargetList API. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D55189
2019-12-12 12:33:45 +00:00
Alexandre Poirot 025d46a8b5 Bug 1602734 - Expose a boolean flag to know if a target being created or destroyed relates to a target being switched during navigation between processes. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D56750
2019-12-12 10:56:54 +00:00
Alexandre Poirot 41736b9bd8 Bug 1602734 - Pass one option object instead of arguments to watchTargets callbacks. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D56713
2019-12-12 10:41:27 +00:00
Julian Descottes 2acc575b71 Bug 1594023 - Log actorIDs instead of js objects in DevTools target-list r=ochameau
Depends on D51630

Differential Revision: https://phabricator.services.mozilla.com/D51840
2019-11-05 18:26:49 +00:00
Alexandre Poirot e9374cf629 Bug 1593695 - Prevent warning about duplicated targets in the case of the Browser Toolbox. r=jdescottes
In the Browser Toolbox, we fetch all types of targets, including frames and processes.
But the main process target, which is the top level target for the Browser Toolbox,
is also returned by listProcesses and so is reported as duplicated.

Differential Revision: https://phabricator.services.mozilla.com/D51630
2019-11-05 11:15:01 +00:00
Alexandre Poirot 7c0dd29a49 Bug 1593928 - Prevent enabling additional targets in the Browser Content Toolbox. r=jdescottes
The existing checks were also enabling additional target tracking of the TargetList
for the Browser Content Toolbox.

Differential Revision: https://phabricator.services.mozilla.com/D51783
2019-11-05 11:15:57 +00:00
Alexandre Poirot 32f9eb3c1e Bug 1471754 - Implement the TargetList component. r=jdescottes
This component will help build and maintain the list of all the Targets.
Making it easier to:
* listen for all the targets: TargetList.watchTargets/unwatchTargets,
* iterate over all the existing ones: TargetList.getAllTargets,
* get all the TargetScoped fronts of all the targets: TargetList.getAllFronts.

Differential Revision: https://phabricator.services.mozilla.com/D48857
2019-11-04 11:03:58 +00:00