Open Bug 1815480 Opened 3 years ago Updated 1 year ago

Investigate BrowserContext attach child -> parent flow vs. child shutdown

Categories

(Core :: DOM: Navigation, task)

task

Tracking

()

ASSIGNED

People

(Reporter: jstutte, Assigned: jstutte, NeedInfo)

References

Details

Attachments

(2 files)

From bug 1811746 comment 3:

It seems we can find our process still subscribed to the given BrowsingContextGroup despite having started our content process' shutdown. IIUC, we always will ContentParent::MarkAsDead and thus ContentParent::RemoveFromList where we unsubscribe the process from all mGroups at the same time when we have done SignalImpendingShutdownToContentJS, so this is not really expected, unless there is some misalignment in our book-keeping for BrowsingContextGroups between what the ContentParent knows about it and who else might reference them.

In bug 1814603 we added a paper-over check that might result in process creation where it is not really expected nor useful.

Assignee: nobody → jstutte
Status: NEW → ASSIGNED
See Also: → 1814603
See Also: → 1811746
Blocks: 1816025
See Also: → 1711734
Assignee: jstutte → nobody
Status: ASSIGNED → NEW
Component: DOM: Content Processes → DOM: Navigation
Flags: needinfo?(smaug)
Assignee: nobody → jstutte
Status: NEW → ASSIGNED

Added some comments to phab.

Flags: needinfo?(smaug)
No longer blocks: 1816025
See Also: → 1816025

(I can take a look)

Not sure if the patch from bug 1811746 wants to suggest that this is already fixed in the meantime, could you try to verify?

Flags: needinfo?(aiunusov)

looking right now

Flags: needinfo?(aiunusov)

Need to do a second look after finishing some patches regarding to workers throttling

Flags: needinfo?(aiunusov)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: