Closed
Bug 552236
Opened 14 years ago
Closed 14 years ago
History not saved to disk on quit
Categories
(Camino Graveyard :: History, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: chris, Assigned: chris)
Details
(Whiteboard: [cm192test])
Attachments
(1 file, 1 obsolete file)
10.51 KB,
patch
|
stuart.morgan+bugzilla
:
superreview+
|
Details | Diff | Splinter Review |
Places doesn't save history to disk on quitting Camino. We need to package nsPlacesDBFlush.js and send Places the 'quit-application' message when shutting down embedding.
Assignee | ||
Comment 1•14 years ago
|
||
Adds nsPlacesDBFlush.js to the project, and notifies observers (particularly nsPlacesDBFlush) of the 'quit-application' signal when shutting down. Please note that this is a hg diff file.
Assignee: nobody → trendyhendy2000
Status: NEW → ASSIGNED
Attachment #432660 -
Flags: superreview?(stuart.morgan+bugzilla)
Attachment #432660 -
Flags: feedback?(alqahira)
Attachment #432660 -
Flags: feedback?(alqahira) → feedback+
Comment on attachment 432660 [details] [diff] [review] Fix v1.0 f+ Thanks for being attentive to the alphabet, too :-)
Comment 3•14 years ago
|
||
Comment on attachment 432660 [details] [diff] [review] Fix v1.0 >+ if (observerService) { > observerService->NotifyObservers(nsnull, "profile-change-net-teardown", nsnull); >- >+ observerService->NotifyObservers(nsnull, "quit-application", nsnull); >+ } >+ > // phase 2 notifcation (we really are about to terminate) > [[NSNotificationCenter defaultCenter] postNotificationName:XPCOMShutDownNotificationName object:nil]; Does the ordering of quit-application and our XPCOMShutDownNotification matter? I'm wondering if we might cause things to be closed down while our objects still want to use them.
Assignee | ||
Comment 4•14 years ago
|
||
The order doesn't matter too much at the moment, but looking at other Camino code it would make more sense to notify Gecko observers after Camino observers.
Attachment #432660 -
Attachment is obsolete: true
Attachment #434680 -
Flags: superreview?(stuart.morgan+bugzilla)
Attachment #432660 -
Flags: superreview?(stuart.morgan+bugzilla)
Updated•14 years ago
|
Attachment #434680 -
Flags: superreview?(stuart.morgan+bugzilla) → superreview+
Comment 5•14 years ago
|
||
Comment on attachment 434680 [details] [diff] [review] Fix v1.2 sr=smorgan
Test repo: http://hg.mozilla.org/users/alqahira_ardisson.org/camino-1.9.2-test/rev/1c12818b9959
Whiteboard: [cm192test]
http://hg.mozilla.org/camino/rev/4c64f9b49b84
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•