mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 895476: Enable updating local lists for application reputation (r=gcp)
This commit is contained in:
parent
3b966ef396
commit
7c72bdd32b
@ -818,6 +818,9 @@ pref("urlclassifier.gethashnoise", 4);
|
||||
// a gethash request will be forced to check that the result is still in
|
||||
// the database.
|
||||
pref("urlclassifier.max-complete-age", 2700);
|
||||
// Tables for application reputation.
|
||||
pref("urlclassifier.download_block_table", "goog-badbinurl-shavar");
|
||||
pref("urlclassifier.download_allow_table", "goog-downloadwhite-digest256");
|
||||
#endif
|
||||
|
||||
pref("browser.geolocation.warning.infoURL", "https://www.mozilla.org/%LOCALE%/firefox/geolocation/");
|
||||
|
@ -4563,8 +4563,8 @@ pref("dom.inter-app-communication-api.enabled", false);
|
||||
// The tables used for Safebrowsing phishing and malware checks.
|
||||
pref("urlclassifier.malware_table", "goog-malware-shavar");
|
||||
pref("urlclassifier.phish_table", "goog-phish-shavar");
|
||||
pref("urlclassifier.download_block_table", "goog-badbinurl-shavar");
|
||||
pref("urlclassifier.download_allow_table", "goog-downloadwhite-digest256");
|
||||
pref("urlclassifier.download_block_table", "");
|
||||
pref("urlclassifier.download_allow_table", "");
|
||||
|
||||
// Turn off Spatial navigation by default.
|
||||
pref("snav.enabled", false);
|
||||
|
@ -98,7 +98,7 @@ this.SafeBrowsing = {
|
||||
var clientID = Services.appinfo.name;
|
||||
}
|
||||
|
||||
log("initializing safe browsing URLs");
|
||||
log("initializing safe browsing URLs, client id ", clientID);
|
||||
let basePref = "browser.safebrowsing.";
|
||||
|
||||
// Urls to HTML report pages
|
||||
@ -141,10 +141,15 @@ this.SafeBrowsing = {
|
||||
else
|
||||
listManager.disableUpdate(phishingList);
|
||||
|
||||
if (this.malwareEnabled)
|
||||
if (this.malwareEnabled) {
|
||||
listManager.enableUpdate(malwareList);
|
||||
else
|
||||
listManager.enableUpdate(downloadBlockList);
|
||||
listManager.enableUpdate(downloadAllowList);
|
||||
} else {
|
||||
listManager.disableUpdate(malwareList);
|
||||
listManager.disableUpdate(downloadBlockList);
|
||||
listManager.disableUpdate(downloadAllowList);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user