Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
Julian Descottes 6aa2328303 Bug 1615236 - Parallelize target creation in the target list helper r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D62733

--HG--
extra : moz-landing-system : lando
2020-02-17 13:10:30 +00:00
Alexandre Poirot a858951923 Bug 1605763 - Wait for all target-available listeners resolution when calling TargetList.startListeners. r=jdescottes
Doing this helps ensuring that all async work done in panels,
when attaching to the top level target, to fetch already existing resources,
is fully completed before the test ends.

Differential Revision: https://phabricator.services.mozilla.com/D62554

--HG--
extra : moz-landing-system : lando
2020-02-13 13:46:13 +00:00
Alexandre Poirot ac81342020 Bug 1598022 - Make TargetList follow devtools.contenttoolbox.fission preference. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D53985

--HG--
extra : moz-landing-system : lando
2020-01-08 15:30:44 +00:00
Alexandre Poirot 9b215e2345 Bug 1598022 - Revisit TargetList.startListening in order to bundle in the type being listened. r=jdescottes
Before, each callsite had to mention which type it would like to listen to.
But at the same time, TargetList was gating this listening via the devtools fission preference.
It sounds easier if all the logic to define if we are listening to additional targets
and which types is written in one place.

Differential Revision: https://phabricator.services.mozilla.com/D57009

--HG--
extra : moz-landing-system : lando
2020-01-08 15:30:34 +00:00
Alexandre Poirot 682491827d Bug 1594739 - Test workers listening via the TargetList API. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D55189

--HG--
extra : moz-landing-system : lando
2019-12-12 12:33:45 +00:00
Alexandre Poirot ad57d93bd5 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

--HG--
extra : moz-landing-system : lando
2019-12-12 10:56:54 +00:00
Alexandre Poirot 94edeb6844 Bug 1602734 - Pass one option object instead of arguments to watchTargets callbacks. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D56713

--HG--
extra : moz-landing-system : lando
2019-12-12 10:41:27 +00:00
Julian Descottes ef1bf374d0 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

--HG--
extra : moz-landing-system : lando
2019-11-05 18:26:49 +00:00
Alexandre Poirot 61f6d79ef6 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

--HG--
extra : moz-landing-system : lando
2019-11-05 11:15:01 +00:00
Alexandre Poirot fca986f4b8 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

--HG--
extra : moz-landing-system : lando
2019-11-05 11:15:57 +00:00
Alexandre Poirot 19707475af 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

--HG--
extra : moz-landing-system : lando
2019-11-04 11:03:58 +00:00