зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1546884
- fix third-party channel checks; r=dragana
`mThirdPartyClassificationFlags` can only check for third-party tracking channel, it should be checked by calling `IsThirdPartyWindowOrChannel`. Differential Revision: https://phabricator.services.mozilla.com/D28788 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
ed8100d1c1
Коммит
bed04f7f7b
|
@ -1333,7 +1333,8 @@ HttpTrafficCategory nsHttpChannel::CreateTrafficCategory() {
|
|||
}
|
||||
}
|
||||
|
||||
bool isThirdParty = !!mThirdPartyClassificationFlags;
|
||||
bool isThirdParty =
|
||||
nsContentUtils::IsThirdPartyWindowOrChannel(nullptr, this, mURI);
|
||||
HttpTrafficAnalyzer::TrackingClassification tc;
|
||||
{
|
||||
uint32_t flags = isThirdParty ? mThirdPartyClassificationFlags
|
||||
|
|
Загрузка…
Ссылка в новой задаче