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)

defect
Not set
normal

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.
Blocks: 771065
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)
Summary: Remove restore_session_once pref and use nsIAppStartup.willRestart and .wasRestarted → Remove restore_session_once pref and use nsIAppStartup.restarting and .wasRestarted
Component: Startup and Profile System → Session Restore
Product: Toolkit → Firefox
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.

Attachment

General

Created:
Updated:
Size: