Bug 1899180. If a channel is not nsIPrivateBrowsingChannel and has no load...
Bug 1899180. If a channel is not nsIPrivateBrowsingChannel and has no load context, use the private browsing field from it's origin attributes. r=necko-reviewers,anti-tracking-reviewers,valentin If the channel is not a nsIPrivateBrowsingChannel, and it also has no load context (eg inside svg images) then we will over write a non-zero mPrivateBrowsingId on the OriginAttributes of the channel with 0, making NS_UsePrivateBrowsing return false for the channel. Differential Revision: https://phabricator.services.mozilla.com/D212083
parent
ee006e70
No related branches found
No related tags found
Showing
- image/test/browser/browser.toml 3 additions, 0 deletionsimage/test/browser/browser.toml
- image/test/browser/browser_bug1899180.js 49 additions, 0 deletionsimage/test/browser/browser_bug1899180.js
- image/test/browser/helper1899180.html 5 additions, 0 deletionsimage/test/browser/helper1899180.html
- toolkit/components/antitracking/StoragePrincipalHelper.cpp 4 additions, 2 deletionstoolkit/components/antitracking/StoragePrincipalHelper.cpp
image/test/browser/browser_bug1899180.js
0 → 100644
image/test/browser/helper1899180.html
0 → 100644
Please register or sign in to comment