Closed Bug 2090984 Opened 24 days ago Closed 16 days ago

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)

defect

Tracking

(firefox162 fixed)

RESOLVED FIXED
162 Branch
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.

Blocks: 2090986

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".

Blocks: 2090991

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.

Component: General → Console
Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/607689c969cc https://hg.mozilla.org/integration/autoland/rev/cc483564d8db Add an objects-manager actor to the content process target, r=devtools-reviewers,bomsy.
Status: ASSIGNED → RESOLVED
Closed: 16 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
QA Whiteboard: [qa-triage-done-c163/b162]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: