Closed
Bug 234700
Opened 21 years ago
Closed 20 years ago
deleting history entry doesn't remove it from history.dat
Categories
(Firefox :: Bookmarks & History, defect)
Firefox
Bookmarks & History
Tracking
()
RESOLVED
FIXED
People
(Reporter: uzsmwd, Assigned: bugs)
References
Details
(5 keywords, Whiteboard: [sg:fix])
Attachments
(1 file)
1.42 KB,
patch
|
caillon
:
review+
jst
:
superreview+
asa
:
approval-aviary+
|
Details | Diff | Splinter Review |
User-Agent: Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8 If one deletes history entries in the history sidebar, the entries won't be seen in the side- and addressbar any more as expected. But grepping all files in the .phoenix directory will still find those entries in the history.dat. This is also the case, when I delete all entries in the history sidebar. The only case, when the history will be deleted correctly, is deleting the history with options-> Privacy-> history-> clear. Reproducible: Always Steps to Reproduce: 1. remove an arbitrary entry in the history sidebar Ctrl-h (for example ebay.com) 2. grep the .phoenix directory ( grep -r "ebay" ~/.phoenix/* ) 3. Actual Results: history.dat still contains deleted history entries. Expected Results: those entries should be deleted, as expected.
Did you quit Firefox before grepping, maybe the file only gets written to file on exit?
Reporter | ||
Comment 2•21 years ago
|
||
Yes I quited firefox and ran the grep command above. It's still in the history.dat. I've observed the same with mozilla-1.6
Comment 3•21 years ago
|
||
Confirmed, Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7a) Gecko/20040221 Firefox/0.8.0+
Comment 5•21 years ago
|
||
bienvenu, might need some help figuring out if there is a way for mork to do the right thing on this one...
Comment 6•21 years ago
|
||
mork only removes stuff if you do a compress commit - history does a compress commit when the average entry gets over a certain threshhold, iirc. If you were willing to pay the performance penalty of writing out the whole history file every time, you could always do a compress commit, or always on shutdown, something like that.
Comment 8•21 years ago
|
||
The code is already trying to do a compress commit http://lxr.mozilla.org/mozilla/source/xpfe/components/history/src/nsGlobalHistory.cpp#1160 (and ditto where this is forked(!) into the birds toolkit) Any other ideas? Does compress commit work?
Comment 9•21 years ago
|
||
I believe the reporter said it did work when he did options-> Privacy-> history-> clear, which is the same time we do a compress commit.
Assignee | ||
Updated•21 years ago
|
Assignee: firefox → bugs
Assignee | ||
Comment 10•21 years ago
|
||
br & trunk fixed.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 11•21 years ago
|
||
Adding Jon Granrose to CC list to help round up QA resources for verification
Updated•20 years ago
|
Whiteboard: [sg:fix]
Comment 14•20 years ago
|
||
Re-open. This bug still exists if you try and delete all pages from a host (click delete on the page "folder" rather the page itself).
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Comment 15•20 years ago
|
||
This is a patch against the 1.4 seamonkey branch, but should be easily ported to forward versions.
Comment 16•20 years ago
|
||
Comment on attachment 154733 [details] [diff] [review] Patch sr=jst
Attachment #154733 -
Flags: superreview+
Comment 17•20 years ago
|
||
Comment on attachment 154733 [details] [diff] [review] Patch Timeless also gave r= for this patch for the 1.4 branch. a=blizzard for 1.4.3
Attachment #154733 -
Flags: review+
Comment 18•20 years ago
|
||
(Note that Ben checked in the first part of the diff for toolkit/ trunk and branch only. The second part of the patch still needs to be applied to those branches. All of the patch needs to be applied to the various Seamonkey branches.)
Updated•20 years ago
|
Keywords: fixed1.4.3
Comment 19•20 years ago
|
||
Comment on attachment 154733 [details] [diff] [review] Patch This should land on aviary. Additionally, it would be great if someone could also put this on the 1.7 branch and both trunks. (toolkit and xpfe).
Attachment #154733 -
Flags: approval-aviary?
Comment 20•20 years ago
|
||
Comment on attachment 154733 [details] [diff] [review] Patch a=asa for checkin everywhere.
Attachment #154733 -
Flags: approval-aviary? → approval-aviary+
Comment 21•20 years ago
|
||
landed on aviary (toolkit), 1.7 branch (xpfe), trunk (tookit and xpfe) should this also go into 1.7.2 or is it too later for that?
Keywords: fixed-aviary1.0,
fixed1.7
Comment 22•20 years ago
|
||
Clearing confidential flag. If history.dat entries were a security problem then most people, who never clear history at all, would be vulnerable all the time. This is a local privacy issue, and in fact it's better that the paranoid people who use this feature have a chance to know about the bug than not.
Group: security
Comment 23•20 years ago
|
||
This is fixed, isn't it?
Status: REOPENED → RESOLVED
Closed: 21 years ago → 20 years ago
Resolution: --- → FIXED
Comment 24•19 years ago
|
||
This either partially regressed or more likely never fixed a sub-case. See bug 312036
Component: History → Bookmarks & History
QA Contact: mozilla → bookmarks
You need to log in
before you can comment on or make changes to this bug.
Description
•