Bug 1525662 - Part 6: Turn on word wrapping by default for plain text documents on mobile. r=snorp
authorJan Henning <jh+bugzilla@buttercookie.de>
Sun, 10 Feb 2019 14:28:35 +0100
changeset 525004 14e0efdd3d9cfb4ea23276a7d237847a8e6f0c75
parent 525003 7634907d87d06d8cce3d223f3d85d9a2d3c86393
child 525005 d57a9605a6d156801d07b6572e362a90b2b13bb5
push id2032
push userffxbld-merge
push dateMon, 13 May 2019 09:36:57 +0000
treeherdermozilla-release@455c1065dcbe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp
bugs1525662
milestone67.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 1525662 - Part 6: Turn on word wrapping by default for plain text documents on mobile. r=snorp Differential Revision: https://phabricator.services.mozilla.com/D19308
mobile/android/app/mobile.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -375,16 +375,19 @@ pref("devtools.remote.wifi.enabled", fal
 pref("font.size.inflation.minTwips", 0);
 
 // When true, zooming will be enabled on all sites, even ones that declare user-scalable=no.
 pref("browser.ui.zoom.force-user-scalable", false);
 
 // With the typical screen sizes on mobile devices, we want to wrap page sources by default.
 pref("view_source.wrap_long_lines", true);
 
+// Ditto for plain text documents.
+pref("plain_text.wrap_long_lines", true);
+
 
 pref("ui.touch.radius.enabled", false);
 pref("ui.touch.radius.leftmm", 3);
 pref("ui.touch.radius.topmm", 5);
 pref("ui.touch.radius.rightmm", 3);
 pref("ui.touch.radius.bottommm", 2);
 pref("ui.touch.radius.visitedWeight", 120);