[Mypal] Clear user prefs for AbortController on migration...
This commit is contained in:
parent
b0d7f0b89b
commit
e8a344d880
|
@ -1201,7 +1201,7 @@ BrowserGlue.prototype = {
|
|||
},
|
||||
|
||||
_migrateUI: function() {
|
||||
const UI_VERSION = 23;
|
||||
const UI_VERSION = 24;
|
||||
const BROWSER_DOCURL = "chrome://browser/content/browser.xul#";
|
||||
let currentUIVersion = 0;
|
||||
try {
|
||||
|
@ -1447,6 +1447,13 @@ BrowserGlue.prototype = {
|
|||
Services.prefs.clearUserPref("layers.acceleration.disabled");
|
||||
Services.prefs.clearUserPref("layers.acceleration.force-enabled");
|
||||
}
|
||||
|
||||
if (currentUIVersion < 24) {
|
||||
// AbortController's worker signalling was fixed so reset user prefs that
|
||||
// might have been set as workaround for web compat issues in the meantime.
|
||||
Services.prefs.clearUserPref("dom.abortController.enabled");
|
||||
}
|
||||
|
||||
|
||||
// Clear out dirty storage
|
||||
if (this._dirty)
|
||||
|
|
Loading…
Reference in New Issue