Bug 870112 - Migrate plugins.hide_infobar_for_missing_plugin to plugins.notifyMissingFlash r=dolske
This commit is contained in:
@@ -1170,7 +1170,7 @@ BrowserGlue.prototype = {
|
||||
},
|
||||
|
||||
_migrateUI: function BG__migrateUI() {
|
||||
const UI_VERSION = 12;
|
||||
const UI_VERSION = 13;
|
||||
const BROWSER_DOCURL = "chrome://browser/content/browser.xul#";
|
||||
let currentUIVersion = 0;
|
||||
try {
|
||||
@@ -1363,6 +1363,14 @@ BrowserGlue.prototype = {
|
||||
}
|
||||
}
|
||||
|
||||
if (currentUIVersion < 13) {
|
||||
try {
|
||||
if (Services.prefs.getBoolPref("plugins.hide_infobar_for_missing_plugin"))
|
||||
Services.prefs.setBoolPref("plugins.notifyMissingFlash", false);
|
||||
}
|
||||
catch (ex) {}
|
||||
}
|
||||
|
||||
if (this._dirty)
|
||||
this._dataSource.QueryInterface(Ci.nsIRDFRemoteDataSource).Flush();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user