Open Bug 1228383 Opened 9 years ago Updated 2 years ago

Centralize TabStateFlusher.flush usage when closing tabs

Categories

(Firefox :: Session Restore, defect)

defect

Tracking

()

People

(Reporter: mconley, Unassigned)

Details

TabStateFlusher.flush is used to request an async flush of all messages from a browser. When the flushed messages come up to the parent, we handle them inside the SessionStore:update message handler in SessionStore.jsm.

It might be better to centralize the logic a bit more, and have the handling logic occur when the TabStateFlusher Promise resolves, much like we do with TabStateFlusher.flushWindow in the onClose handler in SessionStore.

See https://bugzilla.mozilla.org/show_bug.cgi?id=1171708#c52 for context.
Mentor: mconley
On second thought, this might not be a good first bug.
Mentor: mconley
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.