summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-08-11 13:30:55 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-02-21 20:14:43 +0100
commit12640bf26e8a47293815670b03eec92a2965fcb6 (patch)
tree2a7fc2f3a60ba7bc385c808f5de352b801b879af /modules
parent580ebc105678c6d01cf64e7d75116d77984024a0 (diff)
downloadUXP-12640bf26e8a47293815670b03eec92a2965fcb6.tar
UXP-12640bf26e8a47293815670b03eec92a2965fcb6.tar.gz
UXP-12640bf26e8a47293815670b03eec92a2965fcb6.tar.lz
UXP-12640bf26e8a47293815670b03eec92a2965fcb6.tar.xz
UXP-12640bf26e8a47293815670b03eec92a2965fcb6.zip
Read Firefox UA compatmode from a pref instead of hard-coded.
In case of a missing pref, a hard-coded value is still used from the ctor.
Diffstat (limited to 'modules')
-rw-r--r--modules/libpref/init/all.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 82b9bafd3..53891c608 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -23,6 +23,7 @@ pref("keyword.enabled", false);
pref("general.useragent.locale", "chrome://global/locale/intl.properties");
pref("general.useragent.compatMode.gecko", false);
pref("general.useragent.compatMode.firefox", false);
+pref("general.useragent.compatMode.version", "52.9");
pref("general.useragent.appVersionIsBuildID", true);
// This pref exists only for testing purposes. In order to disable all