Closed
Bug 914062
Opened 12 years ago
Closed 12 years ago
Remove resume_session_once pref and use nsIAppStartup.restarting and .wasRestarted
Categories
(Firefox :: Session Restore, defect)
Firefox
Session Restore
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: ttaubert, Assigned: ttaubert)
References
Details
Attachments
(1 file)
Bug 911146 will introduce nsIAppStartup.willRestart and .wasRestarted attributes. We can simplify the SessionStore code using those new attributes and get rid of another pref.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #801464 -
Flags: feedback?(smacleod)
Assignee | ||
Comment 2•12 years ago
|
||
Comment on attachment 801464 [details] [diff] [review]
Remove restore_session_once pref and use nsIAppStartup.willRestart and .wasRestarted attributes
Forgot some stuff.
Attachment #801464 -
Flags: feedback?(smacleod)
Assignee | ||
Updated•12 years ago
|
Summary: Remove restore_session_once pref and use nsIAppStartup.willRestart and .wasRestarted → Remove restore_session_once pref and use nsIAppStartup.restarting and .wasRestarted
Assignee | ||
Updated•12 years ago
|
Component: Startup and Profile System → Session Restore
Product: Toolkit → Firefox
Assignee | ||
Comment 3•12 years ago
|
||
Darn, that seems hard to do. I completely missed the code in nsBrowserGlue.js that uses the pref to restore a session once if the user chooses to. The profile migrator also makes use of it.
Oh well, at least we now have nsIAppStartup.wasRestarted that other code might use.
No longer blocks: 771065
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Summary: Remove restore_session_once pref and use nsIAppStartup.restarting and .wasRestarted → Remove resume_session_once pref and use nsIAppStartup.restarting and .wasRestarted
You need to log in
before you can comment on or make changes to this bug.
Description
•