Open Bug 1899968 Opened 4 months ago Updated 4 months ago

Remove nsIPrivateBrowsingChannel and nsILoadContext.usePrivateBrowsing

Categories

(Core :: Networking, task, P2)

task

Tracking

()

People

(Reporter: valentin, Unassigned)

References

(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.

See Also: → 1900182
See Also: 1900182
You need to log in before you can comment on or make changes to this bug.