Closed
Bug 373949
Opened 18 years ago
Closed 18 years ago
Crash restoration logic is wrong
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.4)
Attachments
(1 file)
4.78 KB,
patch
|
murph
:
review+
jaas
:
superreview+
|
Details | Diff | Splinter Review |
The code to not show the post-crash UI when there's no saved session introduced a bug that totally breaks our crash detection for people that don't turn session saving on:
1) Quit normally; PreviousSessionTerminatedNormally is now YES, and there's no saved session (since we delete it on normal quit when the pref is off)
2) Relaunch, and since there is no stored state we don't check for a crash, so we never set PreviousSessionTerminatedNormally back to NO
3) Crash
4) Be sad
I'll post a fix tonight.
Assignee | ||
Comment 2•18 years ago
|
||
Having the update of the defaults done as a side effect of checking it makes it too easy to make the mistake I made, and solved a problem we don't have (being able to check it more than once), so this just moves the existing update logic into applicationDidFinishLaunching.
Attachment #258621 -
Flags: review?
Comment 3•18 years ago
|
||
Comment on attachment 258621 [details] [diff] [review]
fix
r=me; Thanks for clearing this up, and sorry for missing the problem the first place.
Attachment #258621 -
Flags: review? → review+
Assignee | ||
Updated•18 years ago
|
Attachment #258621 -
Flags: superreview?(joshmoz)
Attachment #258621 -
Flags: superreview?(joshmoz) → superreview+
Assignee | ||
Comment 4•18 years ago
|
||
Landed on trunk and MOZILLA_1_8_BRANCH.
You need to log in
before you can comment on or make changes to this bug.
Description
•