Clearing the Browser Console fails to release object grips from content process targets: "Can't find the actor ID for objects-manager"
Categories
(DevTools :: Console, defect)
Tracking
(firefox162 fixed)
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
References
Details
Attachments
(1 external file)
ContentProcessTargetActor.form() doesn't expose an objectsManagerActor. When the Browser Console is cleared after evaluating an expression that returns an object in a content process (selected in the evaluation context selector), ObjectCommand.releaseObjects calls targetFront.getFront("objects-manager"). That throws Can't find the actor ID for objects-manager from root or target actor's form., and the grips are never released on the server.
The worker target actor already creates an ObjectsManagerActor. The fix does the same in devtools/server/actors/targets/content-process.js.
| Assignee | ||
Comment 1•24 days ago
|
||
Without it, releasing the object grips of a content process target, as clearing the Browser Console does, fails with "Can't find the actor ID for objects-manager".
Comment 2•24 days ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Console' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 4•16 days ago
|
||
| bugherder | ||
Updated•6 days ago
|
Description
•