Closed
Bug 430901
Opened 18 years ago
Closed 18 years ago
The checkbox in the Tools>Options menu, under the Privacy tab, the "Keep my History for at least X days" will not save any changes, and remains unchecked.
Categories
(Firefox :: Bookmarks & History, defect)
Tracking
()
RESOLVED
FIXED
Firefox 3.1a1
People
(Reporter: murasamininja, Assigned: humph)
Details
(Keywords: verified1.9.0.1, Whiteboard: [MU+])
Attachments
(1 file)
|
1.10 KB,
patch
|
dietrich
:
review+
shaver
:
approval1.9.0.1+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5
Attempting to allow Firefox to record the history or browsed sites results in failure.
Reproducible: Always
Steps to Reproduce:
1.Check box
2.Click OK, then close
3.Reopen
Actual Results:
Preference was not saved.
My version of Firefox is vanilla, no addons downloaded.
Updated•18 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: wanted1.9.0.x+
Version: unspecified → 3.0 Branch
| Assignee | ||
Comment 2•18 years ago
|
||
The problem here is that browser.history_expire_days and browser.history_expire_days.mirror can both be 0 if the user previously had no history being kept, and so when this code is executed onChange:
pref.value = checkbox.checked ? mirror.value : 0;
the result is pref.value is always 0, and the value is never updated. This fixes it by using the default min days value in the case that pref==mirror==0.
For those suffering from this bug (like me!), a work around is to set the following prefs manually in about:config
browser.history_expire_days=180
browser.history_expire_days.mirror=180
Assignee: nobody → david.humphrey
Status: NEW → ASSIGNED
Attachment #325802 -
Flags: review?(dietrich)
Comment 3•18 years ago
|
||
Comment on attachment 325802 [details] [diff] [review]
privacy.js patch to deal with case of mirror=0
r=me, thanks sir!
Attachment #325802 -
Flags: review?(dietrich) → review+
Updated•18 years ago
|
Keywords: checkin-needed
Comment 4•18 years ago
|
||
Comment on attachment 325802 [details] [diff] [review]
privacy.js patch to deal with case of mirror=0
Please land this on CVS as well!
Attachment #325802 -
Flags: approval1.9.0.1+
Updated•18 years ago
|
Whiteboard: [MU+]
Comment 5•18 years ago
|
||
mozilla/browser/components/preferences/privacy.js 1.27
Updated•18 years ago
|
Keywords: checkin-needed
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1
Verified on 1.9.0.1 branch. Firefox remembers that setting.
Keywords: fixed1.9.0.1 → verified1.9.0.1
Comment 7•18 years ago
|
||
This bug does not happen to me.
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 ID:2008070208
| Assignee | ||
Comment 8•18 years ago
|
||
(In reply to comment #7)
> This bug does not happen to me.
Well, you're not trying hard enough:
- New profile
- browser.history_expire_days = 0
- browser.history_expire_days.mirror = 0
- Enable history, close dialog, re-check value
It can't *not* happen, given the current code. It's not a Mac vs. Windows thing.
Comment 9•18 years ago
|
||
is this going to land on trunk too?
Comment 10•18 years ago
|
||
Pushed in 15860:3a01d5cb3a5e.
Component: History → Bookmarks & History
QA Contact: history → bookmarks
You need to log in
before you can comment on or make changes to this bug.
Description
•