Open Bug 1512177 Opened 7 years ago Updated 4 years ago

[Content Blocking] Make the Content Blocking Exceptions list apply to private windows in addition to normal windows.

Categories

(Firefox :: Protections UI, enhancement, P3)

Desktop
Unspecified
enhancement

Tracking

()

REOPENED
Tracking Status
firefox63 --- unaffected
firefox64 --- unaffected
firefox65 --- affected

People

(Reporter: rdoghi, Unassigned)

Details

(Whiteboard: [privacy65])

[Affected platforms] Ubuntu 16.04, Windows 7/10, Mac OS 10.13 [Steps to reproduce] 1. Open Firefox with a new profile 2. Reach www.reddit.com. 3. Click Turn Off Blocking for this Site. 4. Open a Private Window and reach the Manage Exceptions list from about:preferences#privacy. 5. Reach the www.reddit.com and check the Site Information Panel. [Expected result] The Turn Off Blocking for this site settings should carry over in Private Window. The Site Information Panel from www.reddit.com should display the Blue "Turn on Blocking for this Site" since the Website is added to the Manage Exceptions list in about:preferences#privacy. The Cookies and Trackers should be allowed for this site only since its been added to the Exceptions list. [Actual result] The Settings for Content Blocking from Normal to Private Window are not carried over correctly. The Private window will block everything. The grey Turn Off Blocking temporarily button is displayed. The www.reddit.com page is added to the Manage Exceptions list which states that "You have disabled Content Blocking for These websites".
Severity: normal → major
The exceptions list, as far as I understand, only applies to Normal windows. There have been conversations about making it apply to private mode, but no work towards this has been done. This is would be a change in behavior. Renaming the bug and we can consider the pros/cons of making the exceptions list honored in both private windows and normal windows (instead of just normal windows). Marking as P3.
Status: NEW → RESOLVED
Closed: 7 years ago
Priority: -- → P3
Resolution: --- → INVALID
Summary: [Content Blocking] Disabling Content Blocking for a website and adding it to the Exceptions list does not carry over to Private Windows → [Content Blocking] Make the Content Blocking Exceptions list apply to private windows in addition to normal windows.
Whiteboard: [privacy65]
According to https://support.mozilla.org/en-US/kb/content-blocking?as=u&utm_source=inproduct this bug seems to be valid. Either that or we need to update the SUMO. " Content Blocking in Private Browsing Since Private Browsing doesn’t save information about your browsing session, when you disable content blocking for a site, it only lasts for your current session. When you start a new private browsing session, your content blocking settings will be restored for all sites. If you’ve disabled content blocking for a site while in a normal browsing window, Firefox will continue to disable content blocking for this same site when in a private window. "
Flags: needinfo?(tanvi)
Redirecting to Ehsan. I don't think that is the way it is intended to work.
Flags: needinfo?(tanvi) → needinfo?(ehsan)
(In reply to Tanvi Vyas[:tanvi] from comment #3) > Redirecting to Ehsan. I don't think that is the way it is intended to work. Sorry, let me clarify. >>If you’ve disabled content blocking for a site while in a normal browsing window, Firefox will continue to disable content blocking for this same site when in a private window. I don't think this is the way it is intended to work. I don't think the exceptions list from normal windows is honored in private browsing windows.
Right now the code is written so that the exception lists are kept separate from each other, the one for private windows isn't used in normal windows and vice versa. However this doesn't really make much sense and when I asked Francois about it he told me there wasn't any particular reason why it was this way. It is certainly not how we do most other things in private browsing mode. I think a better way for this to work is for private windows to honour the exceptions created in normal windows, but of course not the other way around. So the bug as filed is actually valid, not sure why it was closed. I'm reopening it. But of course it doesn't mean we're going to fix it immediately, and I disagree that it's a "major" issue, it's just an enhancement request.
Severity: major → enhancement
Status: RESOLVED → REOPENED
Flags: needinfo?(ehsan)
Resolution: INVALID → ---
(Note that bug 1145503 added the original behaviour.)
I closed it because I had also spoken to Francois and you, and the behavior described is expected and has not been changed. There are slight privacy implications to honoring the Exceptions list from normal mode in private mode. So we should consider those if we want to make this change. Ex: if we do this, a website can tell that it has been accessed in normal mode. Is this how we handle permissions as well? If so, that is already a problem that we've chosen to accept.
Flags: needinfo?(ehsan)
The permission manager is oblivious to private browsing, FWIW. It assumes consumers do their own handling of private browsing in various ways, which makes your question hard to answer in a general way. Though Johann might know since we might have some generic handling for them at the UI level (not sure.) FWIW a site cannot infer based on Firefox loading trackers on it whether the user has visited it before, since the user may have set the exception just now, though it may be possible to combine that bit plus other bits we leak to the network (such as the IP address) and infer something more interesting, so I agree that the privacy implications need some thought before deciding to change anything here.
Flags: needinfo?(ehsan)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.