зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1493563 - Part 6: Only restrict notifying same loading URI channels to tracking protection notifications; r=baku
This check was originally added for tracking protection, and we need to keep the state of the document updated for the rest of our blocking states even for third-party channels. Differential Revision: https://phabricator.services.mozilla.com/D6596
This commit is contained in:
Родитель
5f0be07390
Коммит
744b459820
|
@ -5295,7 +5295,8 @@ nsGlobalWindowOuter::NotifyContentBlockingState(unsigned aState,
|
|||
// To prevent showing the TrackingProtection UI on the wrong page, we need to
|
||||
// check that the loading URI for the channel is the same as the URI currently
|
||||
// loaded in the document.
|
||||
if (!SameLoadingURI(doc, aChannel)) {
|
||||
if (!SameLoadingURI(doc, aChannel) &&
|
||||
aState == nsIWebProgressListener::STATE_BLOCKED_TRACKING_CONTENT) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче