Bug 1285428 - Fix urlclassifier.trackingWhitelistTable table registration. r=gcp

MozReview-Commit-ID: ISeuu8XjZ0d

--HG--
extra : rebase_source : d76ef3dfcb26a6c121a6074582563eca198e0470
This commit is contained in:
Francois Marier 2016-07-07 22:27:56 -07:00
parent d23a632b4a
commit 6a32106bbf

View File

@ -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]);
}
}