Closed Bug 2020354 Opened 3 months ago Closed 3 months ago

Two links to redesigned privacy & security settings are partially broken

Categories

(Firefox :: Settings UI, defect, P3)

defect

Tracking

()

VERIFIED FIXED
150 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox148 --- verified
firefox149 --- verified
firefox150 --- verified

People

(Reporter: maltejur, Assigned: maltejur)

References

(Regression)

Details

(Keywords: regression)

Attachments

(5 files)

To reproduce:

  1. Open https://www.kephyr.com/popupkillertest/test/test1.html or any other site trying to open a popup without user interaction
  2. In the notification at the top of the page, click on Preferences > Manage pop-up and third-party redirect settings...

Expected result: The Privacy & Security settings page (about:preferences#privacy) opens and scrolls to the "Block pop-ups and third-party redirects" checkbox
Actual result: The Privacy & Security settings page (about:preferences#privacy) opens, but stays at the top and doesn't scroll to the relevant preference

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

Severity: -- → S3
Priority: -- → P3
Attachment #9549065 - Attachment description: Bug 2020354 - Fix link from pop-up blocking notification to settings r?bvandersloot → Bug 2020354 - Fix missing subcategories for links in privacy & security settings r?#settings-reviewers-rotation

Searching through the code for other occurrences of broken links to the privacy & security page, I only found one other, much less commonly used link to the site data settings which I'll just include in this bug: https://searchfox.org/firefox-main/rev/3c918058f580ec2cd39d80c9f77ccd06982c0029/browser/base/content/browser.js#1093.

Reproducing that one is a bit harder, as it just shows up when disk space is low and Firefox is using up a lot of space. The easiest way to trigger that is to just run browser_storagePressure_notification.js with a await new Promise(() => {}); added in line 118, which will show the notification in the attached screenshot with a (currently broken) link to the site data settings.

See Also: → 1971439
Summary: Link to settings from pop-up blocker notification is partially broken → Two links to redesigned privacy & security settings are partially broken
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch

The patch landed in nightly and beta is affected.
:maltejur, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(maltejur)

firefox-beta Uplift Approval Request

  • User impact if declined: "Manage pop-up and third-party redirect settings" button in the blocked pop-up notification will be partially broken (it will lead to the settings page but not scroll down to the correct settings entry).
  • Code covered by automated testing: no
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: See Bug 2020354
  • Risk associated with taking this patch: low
  • Explanation of risk level: This patch is just adding two missing data-subcategory attributes to the Privacy & Security settings page, which has little to no breakage potential. Additionally, we are early in the cycle.
  • String changes made/needed: No
  • Is Android affected?: no
Attachment #9549841 - Flags: approval-mozilla-beta?

These were previously located in
browser/components/preferences/privacy.inc.xhtml and seem to have not been
migrated.

"privacy-sitedata" is still used here:
https://searchfox.org/firefox-main/rev/3c918058f580ec2cd39d80c9f77ccd06982c0029/browser/base/content/browser.js#1093

"privacy-permissions-block-popups" is still used here:
https://searchfox.org/firefox-main/rev/3c918058f580ec2cd39d80c9f77ccd06982c0029/browser/modules/PopupAndRedirectBlockerObserver.sys.mjs#389

From searching through the code, these should be all that are still missing for
the privacy & security settings page.

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

Flags: needinfo?(maltejur)

:maltejur, to add to comment 6, if you also add a release uplift request we could included in the planned Fx148 dot release.

Flags: needinfo?(maltejur)
Flags: needinfo?(maltejur)

firefox-release Uplift Approval Request

  • User impact if declined: "Manage pop-up and third-party redirect settings" button in the blocked pop-up notification will be partially broken (it will lead to the settings page but not scroll down to the correct settings entry).
  • Code covered by automated testing: no
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: See Bug 2020354
  • Risk associated with taking this patch: low
  • Explanation of risk level: This patch is just adding two missing data-subcategory attributes to the Privacy & Security settings page, which has little to no breakage potential.
  • String changes made/needed: No
  • Is Android affected?: no
Attachment #9549853 - Flags: approval-mozilla-release?

These were previously located in
browser/components/preferences/privacy.inc.xhtml and seem to have not been
migrated.

"privacy-sitedata" is still used here:
https://searchfox.org/firefox-main/rev/3c918058f580ec2cd39d80c9f77ccd06982c0029/browser/base/content/browser.js#1093

"privacy-permissions-block-popups" is still used here:
https://searchfox.org/firefox-main/rev/3c918058f580ec2cd39d80c9f77ccd06982c0029/browser/modules/PopupAndRedirectBlockerObserver.sys.mjs#389

From searching through the code, these should be all that are still missing for
the privacy & security settings page.

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

Attachment #9549841 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9549853 - Flags: approval-mozilla-release? → approval-mozilla-release+
QA Whiteboard: [uplift] [qa-triage-done-c150/b149] [qa-ver-needed-c150/b149]
Flags: qe-verify+

Verified as fixed in our latest Nightly 150.0a1 (2026-03-09) , Beta 149.0b6 and Release 148.0.2

Status: RESOLVED → VERIFIED
Has STR: --- → yes
QA Whiteboard: [uplift] [qa-triage-done-c150/b149] [qa-ver-needed-c150/b149] → [uplift] [qa-triage-done-c150/b149] [qa-ver-done-c150/b149]
Flags: qe-verify+
QA Contact: rdoghi
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: