summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basilisk/components/nsBrowserGlue.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/basilisk/components/nsBrowserGlue.js b/basilisk/components/nsBrowserGlue.js
index 516cab0..8406a9c 100644
--- a/basilisk/components/nsBrowserGlue.js
+++ b/basilisk/components/nsBrowserGlue.js
@@ -1524,7 +1524,7 @@ BrowserGlue.prototype = {
},
_migrateUI: function() {
- const UI_VERSION = 44;
+ const UI_VERSION = 45;
const BROWSER_DOCURL = "chrome://browser/content/browser.xul";
let currentUIVersion;
@@ -1867,6 +1867,11 @@ BrowserGlue.prototype = {
}
}
+ if (currentUIVersion < 45) {
+ // Clear hardware decoding failure flag to re-test. (UXP #1898)
+ Services.prefs.clearUserPref("media.hardware-video-decoding.failed");
+ }
+
// Update the migration version.
Services.prefs.setIntPref("browser.migration.version", UI_VERSION);
},