зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1435098 - Gate flashinfobar list on the plugins.show_infobar. r=bytesized,gcp
The list of sites to suppress flash infobars on should not be downloaded from shavar unless the infobar feature is enabled. MozReview-Commit-ID: BjkS5vWiilg --HG-- extra : rebase_source : ba7c104b758fc04994b8438222dda0c7feadc787
This commit is contained in:
Родитель
15cc54a3dc
Коммит
09c6a2d004
|
@ -62,6 +62,7 @@ this.SafeBrowsing = {
|
|||
Services.prefs.addObserver("privacy.trackingprotection", this);
|
||||
Services.prefs.addObserver("urlclassifier", this);
|
||||
Services.prefs.addObserver("plugins.flashBlock.enabled", this);
|
||||
Services.prefs.addObserver("plugins.show_infobar", this);
|
||||
|
||||
this.readPrefs();
|
||||
this.addMozEntries();
|
||||
|
@ -147,7 +148,7 @@ this.SafeBrowsing = {
|
|||
blockedEnabled: false,
|
||||
trackingAnnotations: false,
|
||||
flashBlockEnabled: false,
|
||||
flashInfobarListEnabled: true,
|
||||
flashInfobarListEnabled: false,
|
||||
|
||||
phishingLists: [],
|
||||
malwareLists: [],
|
||||
|
@ -227,6 +228,7 @@ this.SafeBrowsing = {
|
|||
this.blockedEnabled = Services.prefs.getBoolPref("browser.safebrowsing.blockedURIs.enabled");
|
||||
this.trackingAnnotations = Services.prefs.getBoolPref("privacy.trackingprotection.annotate_channels");
|
||||
this.flashBlockEnabled = Services.prefs.getBoolPref("plugins.flashBlock.enabled");
|
||||
this.flashInfobarListEnabled = Services.prefs.getBoolPref("plugins.show_infobar", false);
|
||||
|
||||
let flashAllowTable, flashAllowExceptTable, flashTable,
|
||||
flashExceptTable, flashSubDocTable,
|
||||
|
|
Загрузка…
Ссылка в новой задаче