Closed Bug 970675 Opened 12 years ago Closed 5 years ago

Allow changing popup blocker settings for the session in private windows

Categories

(Firefox :: Private Browsing, defect, P3)

defect

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox-esr91 --- fixed
firefox92 --- fixed

People

(Reporter: koosha.khajeh, Assigned: MattN)

References

Details

Attachments

(4 files)

Attached image Screenshot —
While having 'Block pop-up windows' setting checked and doing private browsing, I am not able to unblock a blocked pop up window. The option 'Allow pop-ups for <URL>' is disabled.
This is intentional, since the way it is implemented makes it a permanent action regardless of private browsing status.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
See bug 461625 for the original reasoning.
This and bug 461625 look like they're kind of orthogonal to the reasoning in bug 967812, no? You're saying that we won't allow any permanent permission changes done from private windows but at the same time we mark bug 967812 as invalid due to bug 967812 comment #1?
Well, at least incorporate some new feature to enable pop-ups temporarily for a single session of private browsing.
(In reply to Tim Taubert [:ttaubert] from comment #3) > This and bug 461625 look like they're kind of orthogonal to the reasoning in > bug 967812, no? You're saying that we won't allow any permanent permission > changes done from private windows but at the same time we mark bug 967812 as > invalid due to bug 967812 comment #1? The difference is that in this case it's not obvious to the user that they're granting a permission to the website. That being said, I'd take a patch which makes this menu item work temporarily for the duration of the private window without touching the permission manager.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Summary: Unable to unblock pop-ups in private browsing → Allow blocking pop-ups in private windows without touching the permission manager

(In reply to (no longer active) from comment #5)

I'd take a patch which makes this menu item work
temporarily for the duration of the private window without touching the
permission manager.

Johann, would you also take a patch for this? It will align better with how we handle other permission requests in private windows.

Flags: needinfo?(jhofmann)
Assignee: nobody → mozilla+bmo
Severity: major → S3
Status: REOPENED → ASSIGNED
Priority: -- → P3
Summary: Allow blocking pop-ups in private windows without touching the permission manager → Allow changing popup blocker settings for the session in private windows

Port Bug 1601256 to dialogs/permissions.js. Unfortunately these files forked even though they are very similar. This leads to bugs like this being introduced.

Depends on D118887

Flags: needinfo?(jhofmann)
Pushed by mozilla@noorenberghe.ca: https://hg.mozilla.org/integration/autoland/rev/5a1853ea9693 Allow changing popup blocker settings for the session in private windows. r=johannh https://hg.mozilla.org/integration/autoland/rev/ec59b5b4094a Hide private browsing session permissions in dialogs/permissions.js. r=johannh https://hg.mozilla.org/integration/autoland/rev/98f78b0795b7 Add "popup" as a search keyword for pop-up blocking preferences. r=flod,preferences-reviewers,fluent-reviewers,Gijs

Didn't realize there was a test for this there… looks like it can be deleted.

Flags: needinfo?(mozilla+bmo)
Pushed by mozilla@noorenberghe.ca: https://hg.mozilla.org/integration/autoland/rev/26054cb0248a Allow changing popup blocker settings for the session in private windows. r=johannh https://hg.mozilla.org/integration/autoland/rev/1b0b45679438 Hide private browsing session permissions in dialogs/permissions.js. r=johannh https://hg.mozilla.org/integration/autoland/rev/71ed39c67e76 Add "popup" as a search keyword for pop-up blocking preferences. r=flod,preferences-reviewers,fluent-reviewers,Gijs
Status: ASSIGNED → RESOLVED
Closed: 12 years ago → 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch

Matt, Johann, Is that worth mentioning in our 92 nightly release notes?

Flags: needinfo?(mozilla+bmo)
Flags: needinfo?(jhofmann)

I would say probably not, it's a nice enhancement for sites where allowing a single popup is broken in private windows (e.g. they used the window reference returned by window.open) but most sites hopefully wouldn't have their legit popups blocked in the first place (ignoring bug 1611063 / bug 1656444).

Flags: needinfo?(mozilla+bmo)

Agree with Matt, this is a small improvement :)

Flags: needinfo?(jhofmann)

Comment on attachment 9229096 [details]
Bug 970675 - Allow changing popup blocker settings for the session in private windows. r=johannh

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: Allowing popups is partially broken for users in (permanent) private browsing mode. Can lead to site breakage in edge cases.
  • User impact if declined: Users who are using permanent private browsing mode can't grant websites permission to open pop-ups. Instead they have to allow blocked pop-ups individually, which may break some website functionality. See discussion https://bugzilla.mozilla.org/show_bug.cgi?id=1740604#c21 (and following comments).
  • Fix Landed on Version: 92
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Small, well understood patch which has been in release since Firefox 92 without apparent regressions.
Attachment #9229096 - Flags: approval-mozilla-esr91?
Attachment #9229097 - Flags: approval-mozilla-esr91?

Comment on attachment 9229096 [details]
Bug 970675 - Allow changing popup blocker settings for the session in private windows. r=johannh

Actual functional changes are pretty minimal and the patch is well baked. Approved for 91.5esr.

Attachment #9229096 - Flags: approval-mozilla-esr91? → approval-mozilla-esr91+
Attachment #9229097 - Flags: approval-mozilla-esr91? → approval-mozilla-esr91+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: