mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
Bug 1285428 - Fix urlclassifier.trackingWhitelistTable table registration. r=gcp
MozReview-Commit-ID: ISeuu8XjZ0d --HG-- extra : rebase_source : d76ef3dfcb26a6c121a6074582563eca198e0470
This commit is contained in:
parent
d23a632b4a
commit
6a32106bbf
@ -285,9 +285,14 @@ this.SafeBrowsing = {
|
||||
for (let i = 0; i < trackingProtectionLists.length; ++i) {
|
||||
if (this.trackingEnabled) {
|
||||
listManager.enableUpdate(trackingProtectionLists[i]);
|
||||
listManager.enableUpdate(trackingProtectionWhitelists[i]);
|
||||
} else {
|
||||
listManager.disableUpdate(trackingProtectionLists[i]);
|
||||
}
|
||||
}
|
||||
for (let i = 0; i < trackingProtectionWhitelists.length; ++i) {
|
||||
if (this.trackingEnabled) {
|
||||
listManager.enableUpdate(trackingProtectionWhitelists[i]);
|
||||
} else {
|
||||
listManager.disableUpdate(trackingProtectionWhitelists[i]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user