Bug 1430551 - Make editor use <div> as defaultParagraphSeparator even in release channel r=m_kato
authorMasayuki Nakano <masayuki@d-toybox.com>
Mon, 12 Feb 2018 00:31:44 +0900
changeset 404010 f070cbe872957b98fd214a1820fc1ec8a51715cb
parent 404009 6404740a29d339a8ffa7be87d644a5479b8d00f1
child 404011 e8d05c7218c66151e2e30dcff2fabdf9bccae40e
push id99924
push userebalazs@mozilla.com
push dateThu, 15 Feb 2018 20:43:51 +0000
treeherdermozilla-inbound@a7d2a49f46fb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersm_kato
bugs1430551
milestone60.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1430551 - Make editor use <div> as defaultParagraphSeparator even in release channel r=m_kato No Nightly testers don't report new compatibility issue. Additionally, if we make Firefox use <div> as defaultParagraphSeparator in release build, web services may stop supporting our current behavior quickly because they can get rid of hack for us. Therefore, we should do this in the cycle of Gecko 60 which is next ESR. If we did this later, ESR users may have become not to be able to use existing web services suddenly immediately after we did this in 61 or 62. We should avoid this bad scenario. MozReview-Commit-ID: 7Um79Ky7n8i
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1258,21 +1258,17 @@ pref("extensions.spellcheck.inline.max-m
 // belong in comm-central/editor/ui/composer.js
 
 pref("editor.use_custom_colors", false);
 pref("editor.singleLine.pasteNewlines",      2);
 pref("editor.use_css",                       false);
 pref("editor.css.default_length_unit",       "px");
 pref("editor.resizing.preserve_ratio",       true);
 pref("editor.positioning.offset",            0);
-#ifdef EARLY_BETA_OR_EARLIER
 pref("editor.use_div_for_default_newlines",  true);
-#else
-pref("editor.use_div_for_default_newlines",  false);
-#endif
 
 // Scripts & Windows prefs
 pref("dom.disable_beforeunload",            false);
 pref("dom.disable_window_flip",             false);
 pref("dom.disable_window_move_resize",      false);
 
 pref("dom.disable_window_open_feature.titlebar",    false);
 pref("dom.disable_window_open_feature.close",       false);