The Clear now button from the Clear Recent history panel will not disable if we uncheck the Browsing and Download history option
Categories
(Toolkit :: Data Sanitization, defect)
Tracking
()
People
(Reporter: rdoghi, Assigned: mkaply)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
Found in
- 112.0a1 (2023-03-07)
Affected versions
- Beta 111.0b9
- 102.9.0esr
- Release 110
Affected platforms
- ALL
Steps to reproduce
- Have only the Browsing and Download History option checked in the Clear Recent History panel.
- Uncheck the Browsing and Download History option from the Panel.
Expected result
- The Clear Now button should be disabled after unchecking the last option.
Actual result
- Unchecking the Browsing and Download History option will not disable the Clear now button.
Regression range
6:28.27 INFO: Last good revision: df251f2e0320157d444a0e8e5e609f3bc1969f57 (2020-04-26)
6:28.27 INFO: First bad revision: 2b0e2483e2eaaef7ac49866a98e8e857520bdd5c (2020-04-27)
6:28.27 INFO: Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=df251f2e0320157d444a0e8e5e609f3bc1969f57&tochange=2b0e2483e2eaaef7ac49866a98e8e857520bdd5c
Please note that if any other last option is unchecked the Clear now button will immediately disable.
Also if the Browsing and Download History option was already unchecked when the Clear Recent History panel was opened, Checking and unchecking that option will disable the Clear now buttton.
Comment 1•2 years ago
|
||
I can reproduce this on Nightly112.0a1 Windows10.
Regression window(from local cache):
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=dc41492033491f409344d26684c2de16db767900&tochange=6527df70a124cf5bc6d91bc40820da1ce0456cee
Updated•2 years ago
|
Comment 2•2 years ago
|
||
:mkaply, since you are the author of the regressor, bug 1557754, could you take a look?
For more information, please visit auto_nag documentation.
| Assignee | ||
Comment 3•2 years ago
|
||
I'm not 100% convinced this is related to my work, but it's definitely a bug and I have a sense of what's going on.
The issue is specifically the Browsing & Download History checkbox.
While that checkbox internally affects two values (privacy.cpd.history and privacy.cpd.downloads), when the checkbox is unchecked, it only immediately affects privacy.cpd.history. So when onReadGeneric is called, privacy.cpd.downloads is still true and so the button is not disabled.
| Assignee | ||
Comment 4•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 6•2 years ago
•
|
||
Backed out for causing failures at browser_sanitizeDialog.js.
Backout link: https://hg.mozilla.org/integration/autoland/rev/8924e731b5b206d553e5eaddac967b98f3b6de9c
Failure log: https://treeherder.mozilla.org/logviewer?job_id=408735484&repo=autoland&lineNumber=4625
Comment 7•2 years ago
|
||
Backout merged to central: https://hg.mozilla.org/mozilla-central/rev/8924e731b5b2
Comment 8•2 years ago
|
||
Set release status flags based on info from the regressing bug 1557754
Comment 10•2 years ago
|
||
| bugherder | ||
| Reporter | ||
Comment 11•2 years ago
|
||
Verified as fixed in our latest Nightly 113.0a1 (2023-03-15).
Updated•2 years ago
|
Updated•2 years ago
|
Comment 12•2 years ago
|
||
The patch landed in nightly and beta is affected.
:mkaply, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox112towontfix.
For more information, please visit auto_nag documentation.
| Assignee | ||
Updated•2 years ago
|
Description
•