Closed Bug 1602468 Opened 8 months ago Closed 5 months ago

Toolbox destruction is doing too much work

Categories

(DevTools :: Framework, task, P3)

task

Tracking

(firefox76 fixed)

RESOLVED FIXED
Firefox 76
Tracking Status
firefox76 --- fixed

People

(Reporter: nchevobbe, Assigned: jdescottes)

Details

Attachments

(1 file, 1 obsolete file)

When destroying the toolbox, we also destroy the browsing context front and all the fronts tree, which can take some time to be done.

We should check in this bug if all those destroy are needed, and if not, have an early return mechanism for the toolbox destruction.

Assignee: nobody → jdescottes
Priority: -- → P3
Attachment #9114883 - Attachment description: Bug 1602468 - WIP: Do not destroy object fronts → Bug 1602468 - Skip destroy for object fronts on Toolbox destroy

Depends on D56546

Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4aa0213b5603
Skip destroy for object fronts on Toolbox destroy r=ochameau,nchevobbe
Status: NEW → ASSIGNED
Flags: needinfo?(jdescottes)
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cd2bb1ad6ccb
Skip destroy for object fronts on Toolbox destroy r=ochameau,nchevobbe
Attachment #9117221 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 76
You need to log in before you can comment on or make changes to this bug.