Closed Bug 2041077 Opened 5 months ago Closed 4 months ago

manage cookies and site data empty

Categories

(Firefox :: Settings UI, defect, P3)

Firefox 153
defect

Tracking

()

VERIFIED FIXED
153 Branch
Tracking Status
relnote-firefox --- 152+
firefox-esr140 --- unaffected
firefox152 - verified
firefox153 --- verified
firefox154 --- verified

People

(Reporter: zlice555, Assigned: emz)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Attached image cache.png —

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0

Steps to reproduce:

try to clear specific site cookies

Actual results:

nothing is listed (see attachment)

Expected results:

search through sites and clear specific caches.

i haven't used this in a while so i have no clue when this changed. i was still able to go to a site, click the shield-check next to the urlbar and clear cookies that way.

also i have firefox remove site cookies on close and a list of sites to keep.

The Bugbug bot thinks this bug should belong to the 'Core::Networking: Cookies' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Networking: Cookies
Product: Firefox → Core
Component: Networking: Cookies → Settings UI
Flags: needinfo?(emz)
Product: Core → Firefox

The previous fix for bug 2034243 moved updateSites() into a one-shot paneshown
listener gated on category === "panePrivacy". When the user reaches the privacy
pane's settings via the search-results pane, gotoPref dispatches paneshown for
paneSearchResults, not panePrivacy, so updateSites never runs and the "Manage
Cookies and Site Data" dialog opens with an empty list.

Call updateSites directly at module load instead. The module is imported by
setting-pane.init() (redesign) or by the eager import in privacy.js (legacy),
so this fires exactly once per prefs document regardless of how the privacy
settings are surfaced.

Assignee: nobody → emz
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: needinfo?(emz)
Severity: -- → S3
Priority: -- → P3
Attachment #9588868 - Attachment description: Bug 2041077 - Trigger SiteDataManager.updateSites at privacy.mjs module load. r?mstriemer → Bug 2041077 - Trigger SiteDataManager.updateSites on paneSearchResults too. r?mstriemer
Regressions: 2042509
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
Duplicate of this bug: 2049209

We just got a duplicate of this for 152, perhaps we should consider uplifting to a dot release?

Flags: needinfo?(emz)

I'm not opposed to it - it's a pretty simple change. At the same time only one path to the control is affected (the search) so a workaround exists.

Flags: needinfo?(emz)
Keywords: regression
Regressed by: 2034243

[Tracking Requested - why for this release]: Might be a good candidate for a dot-release ride along. Not critical.

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

Just nominate the patch for uplift if you want it to be considered for a dot release. It doesn't need to be tracking+ first.

Flags: needinfo?(emz)
Flags: in-testsuite+

firefox-release Uplift Approval Request

  • User impact if declined/Reason for urgency: In preferences when searching for site data the site data table will stay empty making it impossible to manage site data this way. Workaround: navigate to manage site data via the sidebar.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: no
  • Needs manual QE testing?: yes
  • Steps to reproduce for manual QE testing: 1. Go to about:preferences
  1. In the search bar enter "clear data for specific sites"
  2. Click the button "clear data for specific sites"

Expected result:
The manage site data table opens and shows site data entries

Actual result:
The manage site data table opens but there are no site data entries, even though there is site data present.

  • Risk associated with taking this patch: low
  • Explanation of risk level: Small production code change with test coverage.
  • String changes made/needed?: no
  • Is Android affected?: no
Attachment #9600334 - Flags: approval-mozilla-release?
Flags: qe-verify+

The previous fix for bug 2034243 moved updateSites() into a one-shot paneshown
listener gated on category === "panePrivacy". When the user reaches the privacy
pane's settings via the search-results pane, gotoPref dispatches paneshown for
paneSearchResults, not panePrivacy, so updateSites never runs and the "Manage
Cookies and Site Data" dialog opens with an empty list.

Extend the paneshown listener to also fire on paneSearchResults, matching the
pattern used in downloads.mjs.

Original Revision: https://phabricator.services.mozilla.com/D302032

Flags: needinfo?(emz)
Duplicate of this bug: 2049625
QA Whiteboard: [uplift][qa-ver-needed-c154/b153]
Summary: mange cookies and site data empty → manage cookies and site data empty
Attachment #9600334 - Flags: approval-mozilla-release? → approval-mozilla-release+

I was able to reproduce the issue on Win11 using Firefox build 152.0 and site https://www.prosport.ro, nothing was displayed on manage cookies and site date dialog.
Verified as fixed on Win11/Ubuntu 24.04/ Mac15.5 using Firefox builds 153.0b5 and 154.0a1.

QA Whiteboard: [uplift][qa-ver-needed-c154/b153] → [uplift][qa-ver-done-c154/b153]
QA Contact: mchiorean
Duplicate of this bug: 2051302

Added to the 152.0.4 relnotes.

Verified as fixed on Win11/Ubuntu 24.04 using Firefox build 152.0.4.

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

Attachment

General

Creator:
Created:
Updated:
Size: