Closed
Bug 552434
Opened 16 years ago
Closed 9 years ago
The setting for remembering history is always reset to "Remember history" or "Never remember history" (because the detailed settings match the mode)
Categories
(Firefox :: Settings UI, defect)
Tracking
()
VERIFIED
FIXED
Firefox 53
| Tracking | Status | |
|---|---|---|
| firefox53 | --- | fixed |
People
(Reporter: nawitus, Assigned: davidmalaschonok, Mentored)
References
Details
(Whiteboard: [outreachy-12])
Attachments
(2 files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2) Gecko/20100207 Firefox/3.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2) Gecko/20100207 Firefox/3.6
Firefox has a selection in Preferences->Privacy with selectiosn for "Remember history", "Never remember history" and "Use custom settings for history". If I choose "Remember history" or "Never remember history" there's no problems. If I choose "Use custom settings", the next time I open preferences the selection will always be "Remember history", even though it should be "Use custom settings".
Reproducible: Always
Steps to Reproduce:
1.Open preferences and privacy tab
2.Select "Use custom settings"
3.Close preferences.
4.Open preferences
Actual Results:
The selection was "Remember history"
Expected Results:
The selection should be "Use custom settings for history"
Comment 1•16 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.2pre) Gecko/20100313 Namoroka/3.6.2pre
This works fine for me.
- Tools > Options > Privacy
- Use Custom Settings
- Make a change e.g. 90 days to 80 days, or a change in the way to accept cookies
- Save settings
- Restart browser
Version: unspecified → 3.6 Branch
| Reporter | ||
Comment 2•16 years ago
|
||
Hmm, it seems that it will be set to "Remember history" only if you change the settings shown in the tab directly, like your "90 days to 80 days" change. However, if you change cookie exceptions etc it will use "Remember history" but those cookie exception rules are still in effect. And that's confusing.
Comment 3•16 years ago
|
||
What cookie setting exactly?
| Reporter | ||
Comment 4•16 years ago
|
||
Can you rephrase your question? If you change only "Cookie exceptions" then it won't use the "use custom settings" selection, which is confusing.
Comment 5•16 years ago
|
||
(In reply to comment #4)
> Can you rephrase your question? If you change only "Cookie exceptions" then it
> won't use the "use custom settings" selection, which is confusing.
I can't reproduce that, at least not on Windows. Every change I tried so far changes the select box choice to "Use custom settings for history".
I can replicate this as it's happening to me. My history setting is always set to Use Custom Settings for History. When I change it to never remember history and hit ok, it doesn't hold. When I go back into it to confirm the change, it has reset back to Use Custom Settings for History. Restarting the browser doesn't make a difference - it resets right after I click ok.
Mozilla/5.0 (Windows; Windows NT 6.1; rv:2.0b2) Gecko/20100720 Firefox/4.0b2
Update: Manually deleted the prefs.js file and restarted Firefox. Seems to be working now. Something must have gotten corrupted when I upgraded from beta release 1 to 2.
Confirmed the bug. Deleting the file "prefs.js" did not work. Changing "custom" settings slightly, "90 days" ==> "91 days" worked.
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100724 Firefox/3.6.8
Updated•13 years ago
|
Summary: The setting for remembering history is always reset to "Remember history" → The setting for remembering history is always reset to "Remember history" or "Never remember history" (because the detailed settings match the mode)
Comment 11•12 years ago
|
||
This bug does not seem to have been fixed.
I have tried about everything possible but the privacy-hhistory setting cannot be changed from "Remember History"
I cannot "Use Custom Settings for History"
This is true both for Firefox 25(32bit) and Waterfox 24(64bit)
Flags: needinfo?
Updated•10 years ago
|
Mentor: jaws
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?
Whiteboard: [outreachy-12]
Updated•10 years ago
|
Assignee: nobody → davidmalaschonok
Status: NEW → ASSIGNED
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•10 years ago
|
OS: Linux → All
Hardware: x86 → All
Comment 14•10 years ago
|
||
| mozreview-review | ||
Comment on attachment 8804910 [details]
Bug 552434 - Avoided history mode being reset by adding privacy.history.custom preference.
https://reviewboard.mozilla.org/r/88740/#review88624
Overall looks good but one question below so I'm not granting review yet.
::: browser/components/preferences/in-content/privacy.js:252
(Diff revision 1)
> - if (this._checkHistoryValues(this.prefsForKeepingHistory)) {
> - if (getVal("browser.privatebrowsing.autostart"))
> + switch (document.getElementById("privacy.history.lastHistoryMode").value) {
> + case 0:
How will this work for someone who had this set to "dontremember" prior to your patch? It looks like it will switch them back to "remember".
Attachment #8804910 -
Flags: review?(jaws) → review-
| Comment hidden (mozreview-request) |
Comment 16•10 years ago
|
||
| mozreview-review | ||
Comment on attachment 8804910 [details]
Bug 552434 - Avoided history mode being reset by adding privacy.history.custom preference.
https://reviewboard.mozilla.org/r/88740/#review88952
Okay cool, I liked the cleanup in your first version better but this patch looks to be more durable and should work for users coming from the various states. Thanks!
I'll mark this as r+ now and get it landed on mozilla-inbound. After it lands on mozilla-inbound, it will get merged to mozilla-central about a day later then will show up in the next day's Nightly build.
Attachment #8804910 -
Flags: review?(jaws) → review+
Comment 17•10 years ago
|
||
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/86529c84da06
Avoided history mode being reset by adding privacy.history.custom preference. r=jaws
Comment 18•10 years ago
|
||
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/5d7db5bac978
Avoided history mode being reset by adding privacy.history.custom preference: add linebreak at end to make eslint happy. r=eslint-fix
Comment 19•10 years ago
|
||
Sorry, had to back this out for failing in browser_privacypane_3.js:
https://hg.mozilla.org/integration/autoland/rev/d8875ddc13b25752fb81e2801deffaac3de57892
Push with failures (the bc ones are relevant here): https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=86529c84da06979e8f9d859e161c7c0c1e16d91f
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=5924440&repo=autoland
To be able to push again to MozReview, go to https://reviewboard.mozilla.org/r/88740/diff/2#index_header and reopen the review request near the top of the page.
From the log:
[task 2016-10-31T18:30:34.140823Z] 18:30:34 INFO - Entering test bound bound runTestOnPrivacyPrefPane
[task 2016-10-31T18:30:34.142642Z] 18:30:34 INFO - runTestOnPrivacyPrefPane entered
[task 2016-10-31T18:30:34.145726Z] 18:30:34 INFO - loaded about:preferences
[task 2016-10-31T18:30:34.147571Z] 18:30:34 INFO - viewing privacy pane, executing testFunc
[task 2016-10-31T18:30:34.150487Z] 18:30:34 INFO - TEST-PASS | browser/components/preferences/in-content/tests/browser_privacypane_3.js | history mode menulist should exist -
[task 2016-10-31T18:30:34.152891Z] 18:30:34 INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/in-content/tests/browser_privacypane_3.js | history mode is expected to remain remember - Got custom, expected remember
[task 2016-10-31T18:30:34.154443Z] 18:30:34 INFO - Stack trace:
[task 2016-10-31T18:30:34.156237Z] 18:30:34 INFO - chrome://mochikit/content/browser-test.js:test_is:909
[task 2016-10-31T18:30:34.158474Z] 18:30:34 INFO - chrome://mochitests/content/browser/browser/components/preferences/in-content/tests/privacypane_tests_perwindow.js:test_custom_retention_fn:273
[task 2016-10-31T18:30:34.160258Z] 18:30:34 INFO - chrome://mochitests/content/browser/browser/components/preferences/in-content/tests/privacypane_tests_perwindow.js:runTestOnPrivacyPrefPane:8
[task 2016-10-31T18:30:34.162142Z] 18:30:34 INFO - resource://gre/modules/Task.jsm:TaskImpl_run:322
Please fix the issue and resubmit.
Flags: needinfo?(davidmalaschonok)
Updated•9 years ago
|
Flags: needinfo?(jaws)
| Comment hidden (mozreview-request) |
Comment 21•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8820069 [details]
Bug 552434 - Allow the history mode to stay in Custom even if the settings match the preference values for keeping history.
https://reviewboard.mozilla.org/r/99596/#review100022
I fixed up the tests that were failing due to this change. I'll get this relanded now. Sorry for not following up with you David.
Attachment #8820069 -
Flags: review?(jaws) → review+
Updated•9 years ago
|
Flags: needinfo?(jaws)
Flags: needinfo?(davidmalaschonok)
Comment 22•9 years ago
|
||
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f1a3a13b5ab4
Allow the history mode to stay in Custom even if the settings match the preference values for keeping history. r=jaws
Backed out for different test failures: https://treeherder.mozilla.org/logviewer.html#?job_id=8145082&repo=autoland
https://hg.mozilla.org/integration/autoland/rev/d64d4110059196e546d5ed6f7f0580ab5d8b0339
Flags: needinfo?(jaws)
Flags: needinfo?(david.malashonok)
| Comment hidden (mozreview-request) |
Comment 25•9 years ago
|
||
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/18d77abbddf7
Allow the history mode to stay in Custom even if the settings match the preference values for keeping history. r=jaws
Updated•9 years ago
|
Flags: needinfo?(jaws)
Flags: needinfo?(david.malashonok)
Comment 26•9 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 53
Comment 27•9 years ago
|
||
I have reproduced this bug with Nightly 3.7a3pre on Windows 8.1 (64-bit).
This bug's fix is verified on Latest Nightly 53.0a1.
Build ID : 20161228030213
User Agent : Mozilla/5.0 (Windows NT 6.3; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0
[bugday-20161228]
Comment 28•9 years ago
|
||
User Agent Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0
Bug fix is verified, bumping the status to VERIFIED FIXED
Status: RESOLVED → VERIFIED
Comment 29•9 years ago
|
||
I something similar ->
it is not possible to set the history in the privacy on firefox 52 beta to "never remember history"
Comment 30•9 years ago
|
||
(In reply to noam.katzir1 from comment #29)
> I something similar ->
> it is not possible to set the history in the privacy on firefox 52 beta to
> "never remember history"
Can you share your steps? I just tried in Nightly 54 and it works fine there. I can test on 52 Beta, but I don't suspect there will be any difference.
Flags: needinfo?(noam.katzir1)
Comment 31•9 years ago
|
||
I can't reproduce for some reason, I'm sorry for the white noise.
Updated•9 years ago
|
Flags: needinfo?(noam.katzir1)
You need to log in
before you can comment on or make changes to this bug.
Description
•