Closed
Bug 470348
Opened 16 years ago
Closed 16 years ago
clear private data on shutdown does not delete history if "ask me before..." is enabled
Categories
(Toolkit :: Places, defect, P2)
Toolkit
Places
Tracking
()
VERIFIED
FIXED
mozilla1.9.2a1
People
(Reporter: mak, Assigned: mak)
References
Details
(4 keywords)
Attachments
(1 file, 1 obsolete file)
4.10 KB,
patch
|
Gavin
:
review+
dietrich
:
review+
|
Details | Diff | Splinter Review |
Actually clear private data dialog is fired at quit-application, and if options "ask me before..." is enabled work is done there after the user has made a choice. That does not work anymore because on quit-application Places executes the last sync between memory tables and disk tables and closes the database connection. So we really should move all code that requires a working Places to quit-application-granted. asking blocking for the obvious fact we are not clearing history on shutdown when requested by the user, so this could potentially be a serious privacy issue.
Flags: blocking1.9.1?
Assignee | ||
Comment 1•16 years ago
|
||
this is a 3.1 regression, the issue is obviously not existant in 3.0 since we don't have to sync there.
Assignee | ||
Updated•16 years ago
|
Keywords: regression
Assignee | ||
Comment 2•16 years ago
|
||
well no, the correct bug that regressed is bug 463471, that fixed the case where we clear without "ask me dialog"
Assignee | ||
Comment 3•16 years ago
|
||
i'm sure there is a bug around that should be duped to this, where Ria commented with a regression range pointing to fsync stuff, but i can't find it anymore now :\
Assignee | ||
Comment 4•16 years ago
|
||
Attachment #353764 -
Flags: review?(gavin.sharp)
Assignee | ||
Updated•16 years ago
|
Flags: in-litmus?
Assignee | ||
Comment 5•16 years ago
|
||
i added a comment in the history idl about the problem, i need an additional review from dietrich about that, maybe there's a better solution to make implementers aware of that.
Attachment #353764 -
Attachment is obsolete: true
Attachment #353765 -
Flags: review?(gavin.sharp)
Attachment #353764 -
Flags: review?(gavin.sharp)
Assignee | ||
Updated•16 years ago
|
Attachment #353765 -
Flags: review?(dietrich)
Updated•16 years ago
|
Flags: blocking1.9.1? → blocking1.9.1+
Comment 7•16 years ago
|
||
Comment on attachment 353765 [details] [diff] [review] patch v1.1 this seems fine, r=me. gavin might have more perspective on possible side-effects of moving sanitization up to quit-application-granted. maybe you could add that documentation to a "Places Best Practices" page on MDC?
Attachment #353765 -
Flags: review?(dietrich) → review+
Updated•16 years ago
|
Priority: -- → P1
Target Milestone: --- → mozilla1.9.1b3
Assignee | ||
Comment 8•16 years ago
|
||
i added dev-doc-needed for now, to remember adding the note to MDC.
Keywords: dev-doc-needed
Comment 9•16 years ago
|
||
As Ian pointed out in bug 469158 comment 26, the option this bug addresses no longer exists. Is there still a problem here at all?
Assignee | ||
Comment 10•16 years ago
|
||
it should be fixed still, yes.
Updated•16 years ago
|
Whiteboard: [has patch][needs review gavin]
Updated•16 years ago
|
Attachment #353765 -
Flags: review?(gavin.sharp) → review+
Updated•16 years ago
|
Whiteboard: [has patch][needs review gavin] → [has patch][has review][can land]
Comment 12•16 years ago
|
||
(In reply to comment #11) > knocking priority down a notch, given comment 9. I think I was actually wrong there, as the reason the pref was destroyed is because the prompt now *always* shows up, since a time-frame has to be chosen. See bug 469158 comment 28.
Comment 13•16 years ago
|
||
(In reply to comment #12) Sorry for the bugspam, but I was wrong. The dialog will now always show up when you click "Clear Recent History", but never show up when exiting firefox.
Comment 14•16 years ago
|
||
trunk: http://hg.mozilla.org/mozilla-central/rev/053ebdb6a88c
Whiteboard: [has patch][has review][can land] → [has patch][has review]
Target Milestone: mozilla1.9.1b3 → mozilla1.9.2a1
Updated•16 years ago
|
Whiteboard: [has patch][has review] → [has patch][has review][baking]
Updated•16 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 15•16 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/00a4e7bf722b
Keywords: fixed1.9.1
Whiteboard: [has patch][has review][baking]
Comment 16•16 years ago
|
||
Regarding the in-litmus nomination, we have a Litmus test case that tests clearing private data, but not after a shutdown. Since the Ask me pref no longer exists, I guess that does not have to be factored in.
Comment 17•16 years ago
|
||
verified fixed on the 1.9.1 branch using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090108 Shiretoko/3.1b3pre and Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090108 Shiretoko/3.1b3pre verified fixed on the trunk using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090108 Minefield/3.2a1pre and with the latest Vista trunk nightly. To verify on both I accumulated some history, set the pref to always clear and then restarted to make sure my history was cleared.
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
Assignee | ||
Comment 18•16 years ago
|
||
updated both mdc and w.m.o documentations
Keywords: dev-doc-needed → dev-doc-complete
Assignee | ||
Updated•10 years ago
|
Flags: in-litmus?
You need to log in
before you can comment on or make changes to this bug.
Description
•