Closed
Bug 363600
Opened 18 years ago
Closed 18 years ago
Periodically auto-save window state for crash recovery
Categories
(Camino Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Camino1.5
People
(Reporter: stuart.morgan+bugzilla, Assigned: stuart.morgan+bugzilla)
References
Details
(Keywords: fixed1.8.1.1)
Attachments
(1 file)
7.05 KB,
patch
|
bugzilla-graveyard
:
review+
mikepinkerton
:
superreview+
|
Details | Diff | Splinter Review |
I'm splitting this out from bug 358689, leaving that one for adding UI to let users avoid crash loops. This is the portion that actually does the periodic auto-saving, which we can go ahead with now since it's a hidden pref, so the people turning it on can know to go nuke the file if they get into a bad state.
Assignee | ||
Comment 1•18 years ago
|
||
Saves periodically, coalescing events for 60 seconds before writing to disk. Doing it this way should also reduce the chance of getting a bad state saved, since we won't usually be saving just as a page loads.
Also fixes a typo I noticed in a dictionary key. Once this lands anyone using the session-saving pref will, one time only, have their saved session open with all their bookmark bars hidden. It's still a hidden pref and that's a pretty minor issue, so I'd much rather do that than add migrating code that only a handful of early-adopters will need.
Updated•18 years ago
|
Assignee: stuart.morgan → nobody
Status: ASSIGNED → NEW
Comment 2•18 years ago
|
||
Sorry about that. Mouse slipped when CCing myself.
Assignee: nobody → stuart.morgan
Updated•18 years ago
|
Target Milestone: --- → Camino1.1
Comment 3•18 years ago
|
||
Comment on attachment 248398 [details] [diff] [review]
fix
>+// Notifies the SessionManager that the windows state has changed. This
s/windows/window
r=me with that change, code-wise. I didn't test, though.
Attachment #248398 -
Flags: review? → review+
Assignee | ||
Comment 4•18 years ago
|
||
Comment on attachment 248398 [details] [diff] [review]
fix
I'll fix the typo on checkin.
Attachment #248398 -
Flags: superreview?(mikepinkerton)
Comment 5•18 years ago
|
||
Oh, I meant to ask this earlier...does this patch address the problem raised by bug 361092?
cl
Assignee | ||
Comment 6•18 years ago
|
||
Nope.
Comment 7•18 years ago
|
||
Comment on attachment 248398 [details] [diff] [review]
fix
sr=pink
Attachment #248398 -
Flags: superreview?(mikepinkerton) → superreview+
Assignee | ||
Comment 8•18 years ago
|
||
Checked in on trunk and MOZILLA_1_8_BRANCH.
You need to log in
before you can comment on or make changes to this bug.
Description
•