Commit Graph
8 Commits
Author SHA1 Message Date
Alexandre Poirot 9f68ec10e1 Bug 1921200 - [devtools] Expose rawObj and safeRawObj on ObjectActor. r=devtools-reviewers,nchevobbe
This clarifies the distinction between the two, and help use safeRawObj from previewers.

Differential Revision: https://phabricator.services.mozilla.com/D224110
2024-10-08 12:54:01 +00:00
Alexandre Poirot 6d82f94948 Bug 1921200 - [devtools] Use a single method to create all the Object Actors. r=devtools-reviewers,nchevobbe
This will help get rid of hooks and unify how all the Object Actor are instantiate and registered in their pool.
It will also ease gathering them in specific pools.

Differential Revision: https://phabricator.services.mozilla.com/D224108
2024-10-08 12:54:00 +00:00
Alexandre Poirot 28d340da28 Bug 1792849 - [devtools] Use absolute URLs to import modules in devtools/server. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D158487
2022-10-03 18:57:12 +00:00
Julian Descottes 9eb9a0ced8 Bug 1621886 - Call Actor destroy from all actors r=nchevobbe
Depends on D66780

Differential Revision: https://phabricator.services.mozilla.com/D67147
2020-03-18 10:48:22 +00:00
Nicolas Chevobbe 6d960e9475 Bug 1621712 - Switch ActorPool usage to Pools in devtools/server/actors. r=jdescottes.
All the actors using ActorPool now use Pool instead.
A few changes were needed since the API are a bit different:
- addActor(x) was changed to manage(x)
- removeActor(x) was changed to x.destroy() (which removes x from the Pool)
- x.registeredPool was changed into x.parent() (registeredPool was the Pool x was in)
- conn.addActorPool calls were removed as it's already done in the Pool _poolMap getter
- conn.removeActorPool(x) calls were turned into x.destroy , as the former is called
  from Pool#destroy.

Also, some actors were overriding Actor#initialize without calling
Actor.prototype.initialize.call, which mean they didn't have a `conn`
property.

Differential Revision: https://phabricator.services.mozilla.com/D66780
2020-03-18 06:32:24 +00:00
Alexandre Poirot e4582cd9a0 Bug 1609716 - Unify xpcshell test folders in devtools. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60160
2020-01-20 13:56:04 +00:00
Cosmin Sabou eb2d2dd49c Backed out changeset ccd058375096 (bug 1609716) for devtools failures on browser_device_custom_remove. CLOSED TREE 2020-01-20 18:11:34 +02:00
Alexandre Poirot f2e7460a19 Bug 1609716 - Unify xpcshell test folders in devtools. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60160
2020-01-20 13:56:04 +00:00