--- a/modules/libpref/init/StaticPrefList.yaml
+++ b/modules/libpref/init/StaticPrefList.yaml
@@ -16172,16 +16172,28 @@
# When true, the caret is not moved to the right click point in focused editable
# content.
- name: ui.mouse.right_click.move_caret.stop_if_in_focused_editable_node
type: bool
value: false
mirror: always
+#ifdef XP_MACOSX
+# This will automatically enable text substitution for editable elements in HTML.
+# This value is like layout.spellCheckDefault.
+# 0 ... Disabled
+# 1 ... textarea, contenteditable and design mode
+# 2 ... text, textarea, contenteditable and design mode
+- name: ui.autocorrectDefault
+ type: uint32_t
+ value: 1
+ mirror: always
+#endif
+
#---------------------------------------------------------------------------
# Prefs starting with "urlclassifier."
#---------------------------------------------------------------------------
# Update server response timeout for Safe Browsing.
- name: urlclassifier.update.response_timeout_ms
type: uint32_t
value: 30000
@@ -17166,16 +17178,43 @@
type: bool
#if defined(XP_MACOSX)
value: true
#else
value: false
#endif
mirror: always
+#ifdef XP_MACOSX
+# The folllowing widget.macos.automatic.* prefs are whether Gecko turns on
+# text replacement features.
+- name: widget.macos.automatic.text_replacement
+ type: bool
+ value: false
+ mirror: always
+
+# Whether the smart dash feature is enabled
+- name: widget.macos.automatic.dash_substitution
+ type: bool
+ value: false
+ mirror: always
+
+# Whether the smart quote feature is enabled
+- name: widget.macos.automatic.quote_substitution
+ type: bool
+ value: false
+ mirror: always
+
+# fetching length when processing text substitution.
+- name: widget.macos.automatic.text_substitution_fetch_length
+ type: uint32_t
+ value: 20
+ mirror: always
+#endif
+
# Whether to render in to a child SurfaceControl rather than directly into the SurfaceView
- name: widget.android.use-surfacecontrol
type: bool
value: false
mirror: once
#ifdef ANDROID
# A threshold value for double click by mouse.