summaryrefslogtreecommitdiffstats
path: root/toolkit/modules/AsyncPrefs.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/modules/AsyncPrefs.sys.mjs')
-rw-r--r--toolkit/modules/AsyncPrefs.sys.mjs7
1 files changed, 6 insertions, 1 deletions
diff --git a/toolkit/modules/AsyncPrefs.sys.mjs b/toolkit/modules/AsyncPrefs.sys.mjs
index 5fa0ea6d6f..07f08c119e 100644
--- a/toolkit/modules/AsyncPrefs.sys.mjs
+++ b/toolkit/modules/AsyncPrefs.sys.mjs
@@ -31,6 +31,11 @@ const kAllowedPrefs = new Set([
"reader.color_scheme",
"reader.content_width",
"reader.line_height",
+ "reader.custom_colors.foreground",
+ "reader.custom_colors.background",
+ "reader.custom_colors.unvisited-links",
+ "reader.custom_colors.visited-links",
+ "reader.custom_colors.selection-highlight",
"security.tls.version.enable-deprecated",
"security.xfocsp.errorReporting.automatic",
@@ -103,7 +108,7 @@ export var AsyncPrefs = {
return AsyncPrefsParent.set(pref, value);
},
- reset(pref, value) {
+ reset(pref) {
if (kInChildProcess) {
return ChromeUtils.domProcessChild.getActor("AsyncPrefs").reset(pref);
}