Closed
Bug 552236
Opened 16 years ago
Closed 16 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•16 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•16 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•16 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•16 years ago
|
Attachment #434680 -
Flags: superreview?(stuart.morgan+bugzilla) → superreview+
Comment 5•16 years ago
|
||
Comment on attachment 434680 [details] [diff] [review]
Fix v1.2
sr=smorgan
Whiteboard: [cm192test]
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•