Closed Bug 1821042 Opened 2 years ago Closed 2 years ago

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)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
113 Branch
Tracking Status
firefox-esr102 --- wontfix
firefox110 --- wontfix
firefox111 --- wontfix
firefox112 --- wontfix
firefox113 --- verified

People

(Reporter: rdoghi, Assigned: mkaply)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Attached video 2023-03-08_15h03_01.mp4

Found in

  • 112.0a1 (2023-03-07)

Affected versions

  • Beta 111.0b9
  • 102.9.0esr
  • Release 110

Affected platforms

  • ALL

Steps to reproduce

  1. Have only the Browsing and Download History option checked in the Clear Recent History panel.
  2. 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.

Component: Bookmarks & History → Data Sanitization
Product: Firefox → Toolkit

:mkaply, since you are the author of the regressor, bug 1557754, could you take a look?

For more information, please visit auto_nag documentation.

Flags: needinfo?(mozilla)

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.

Flags: needinfo?(mozilla)
Assignee: nobody → mozilla
Status: NEW → ASSIGNED
Pushed by mozilla@kaply.com: https://hg.mozilla.org/integration/autoland/rev/4637d7a67afa Downloads pref shouldn't impact enablement of sanitize dialog. r=hpeuckmann

Set release status flags based on info from the regressing bug 1557754

Pushed by mozilla@kaply.com: https://hg.mozilla.org/integration/autoland/rev/d39c247adcff Downloads pref shouldn't impact enablement of sanitize dialog. r=hpeuckmann
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch

Verified as fixed in our latest Nightly 113.0a1 (2023-03-15).

Flags: needinfo?(mozilla)

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-firefox112 to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(mozilla)
Flags: needinfo?(mozilla)

Updating the main status flag.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: