mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-30 19:17:31 +09:00
[Pale-Moon] Clear user prefs for AbortController on migration to reset it for users who have disabled it for web compat in the meantime.
This commit is contained in:
parent
ce9a763cdb
commit
ffa78473f6
1 changed files with 8 additions and 1 deletions
|
|
@ -1285,7 +1285,7 @@ BrowserGlue.prototype = {
|
||||||
},
|
},
|
||||||
|
|
||||||
_migrateUI: function() {
|
_migrateUI: function() {
|
||||||
const UI_VERSION = 23;
|
const UI_VERSION = 24;
|
||||||
const BROWSER_DOCURL = "chrome://browser/content/browser.xul#";
|
const BROWSER_DOCURL = "chrome://browser/content/browser.xul#";
|
||||||
let currentUIVersion = 0;
|
let currentUIVersion = 0;
|
||||||
try {
|
try {
|
||||||
|
|
@ -1552,6 +1552,13 @@ BrowserGlue.prototype = {
|
||||||
Services.prefs.clearUserPref("layers.acceleration.disabled");
|
Services.prefs.clearUserPref("layers.acceleration.disabled");
|
||||||
Services.prefs.clearUserPref("layers.acceleration.force-enabled");
|
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
|
// Clear out dirty storage
|
||||||
if (this._dirty) {
|
if (this._dirty) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue