Closed Bug 1697918 Opened 4 years ago Closed 4 years ago

Audit JSWindowActorParent implementations and ensure they don't leak when moving a tab to another browser window

Categories

(Core :: DOM: Navigation, defect)

defect

Tracking

()

RESOLVED WORKSFORME
Fission Milestone M7a

People

(Reporter: smaug, Unassigned)

Details

There is a risk that WindowActor implementations keep the old window alive or add event listeners there or something similar, which create cross window references and when one window is then closed, the memory can't be released. That can lead to significantly higher GC/CC times and it would increase memory usage.

Fission Milestone: --- → ?

Jens, can someone on the DOM Core team work on this bug? Olli will provide more details in Tuesday's DOM Core meeting.

This is not a Fission-specific bug, but it is a regression from Fission adding WindowActors. This problem is probably affecting Release channel now.

Fission Milestone: ? → ---
Flags: needinfo?(jstutte)

John will take a look.

Flags: needinfo?(jstutte) → needinfo?(jdai)

I checked all components[1] inherent from JSWindowActorParent, but I didn't find any suspicious component which could leak.

[1] https://docs.google.com/spreadsheets/d/16L8wmQgg2y4MglDnMy3WxFCdozEoevScFogzY7H1D40/edit?usp=sharing

Flags: needinfo?(jdai)

(In reply to John Dai[:jdai] from comment #3)

I checked all components[1] inherent from JSWindowActorParent, but I didn't find any suspicious component which could leak.

In that case, I'll resolve this bug as WORKSFORME.

Thanks for checking!

Status: NEW → RESOLVED
Fission Milestone: --- → M7a
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.