Bug 1917034 - Adjust Thunderbird code for "Remove some related always-on prefs.". rs=bustage-fix DONTBUILD
This commit is contained in:
Родитель
a24a359679
Коммит
ff4274bafb
|
@ -81,24 +81,6 @@ if (!Services.prefs.getBoolPref("layout.css.scroll-anchoring.enabled")) {
|
|||
});
|
||||
}
|
||||
|
||||
if (!Services.prefs.getBoolPref("layout.css.forced-colors.enabled")) {
|
||||
ignoreList.push({
|
||||
sourceName: /pdf\.js\/web\/viewer\.css$/,
|
||||
errorMessage: /Expected media feature name but found ‘forced-colors’*/i,
|
||||
isFromDevTools: false,
|
||||
});
|
||||
}
|
||||
|
||||
if (!Services.prefs.getBoolPref("layout.css.forced-color-adjust.enabled")) {
|
||||
// PDF.js uses a property that is currently not enabled.
|
||||
ignoreList.push({
|
||||
sourceName: /web\/viewer\.css$/i,
|
||||
errorMessage:
|
||||
/Unknown property ‘forced-color-adjust’\. {2}Declaration dropped\./i,
|
||||
isFromDevTools: false,
|
||||
});
|
||||
}
|
||||
|
||||
const propNameAllowlist = [
|
||||
// These custom properties are retrieved directly from CSSOM
|
||||
// in videocontrols.xml to get pre-defined style instead of computed
|
||||
|
|
Загрузка…
Ссылка в новой задаче