Bug 1392996 - Part 2 - Enable view-source word-wrapping by default in Fennec. r?snorp draft
authorJan Henning <jh+bugzilla@buttercookie.de>
Sat, 27 Jan 2018 22:58:33 +0100
changeset 748112 b519ced8c8b20d8c1b00b0d81e03f4258e83302a
parent 748111 a576f806f01176c12d5afaebf2076e649b5bd47d
child 748169 d17ba38832655a6d6dcceb4f3313fa51fb6fc5bb
push id97074
push usermozilla@buttercookie.de
push dateSun, 28 Jan 2018 15:21:37 +0000
reviewerssnorp
bugs1392996
milestone60.0a1
Bug 1392996 - Part 2 - Enable view-source word-wrapping by default in Fennec. r?snorp MozReview-Commit-ID: FpQNzbS9ixY
mobile/android/app/mobile.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -386,16 +386,19 @@ pref("devtools.debugger.unix-domain-sock
 pref("devtools.remote.usb.enabled", false);
 pref("devtools.remote.wifi.enabled", false);
 
 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);
+
 // When removing this Nightly flag, also remember to remove the flags surrounding this feature
 // in GeckoPreferences and BrowserApp (see bug 1245930).
 #ifdef NIGHTLY_BUILD
 pref("ui.bookmark.mobilefolder.enabled", true);
 #else
 pref("ui.bookmark.mobilefolder.enabled", false);
 #endif