Open
Bug 1899968
Opened 9 months ago
Updated 14 days ago
Remove nsIPrivateBrowsingChannel and nsILoadContext.usePrivateBrowsing
Categories
(Core :: Networking, task, P2)
Core
Networking
Tracking
()
NEW
People
(Reporter: valentin, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
Since all channels now have an attached loadInfo and loadInfo.originAttributes, I think it might be looking at removing the other ways we have to mark a channel as a private browsing channel - specifically nsIPrivateBrowsingChannel and nsILoadContext.usePrivateBrowsing.
Having all these ways introduces confusion as to which check you should perform.
I think using at loadInfo.originAttributes.mPrivateBrowsingId
should be enough for all these.
You need to log in
before you can comment on or make changes to this bug.
Description
•