Open
Bug 930713
Opened 12 years ago
Updated 3 years ago
Window closed programmatically during shutdown is not recognized as closed by Session Store
Categories
(Firefox :: Session Restore, defect)
Tracking
()
NEW
People
(Reporter: matthew.gertner, Unassigned)
References
(Depends on 1 open bug)
Details
An extension might want to close a window during shutdown. For example, perhaps it opened a navigator:browser popup that is only relevant for the current session. If it closes the window during shutdown (e.g. in quit-application), it will still be opened by the session store when Firefox is started again. The reason is that the state of the session store is "frozen" during shutdown so that windows closed as part of the normal shutdown process are properly restored.
It would be useful to have an API to remove a window from the session store.
Comment 1•12 years ago
|
||
As you point out, the problem is that we have a race condition: the add-on wants to close a window during shutdown, while session restore wants to record windows during shutdown.
Now, we could add yet another shutdown step specifically for session restore, somewhere after quit-application-granted but before closing all the windows, just for the purpose of session restore.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•