Bug 1338260. Add Fennec-only UA override for directv.com. r?mconnor draft
authorMike Taylor <miket@mozilla.com>
Thu, 09 Feb 2017 13:55:11 -0600
changeset 481430 bbd529ed850a9d8d772a034ab143cc37c4ea37a8
parent 481429 a7000da4b6e2a79c5750dad71095865bdf75be04
child 545175 3aa79060616dc0fb250208b88d85207c3fb5011e
push id44791
push userbmo:miket@mozilla.com
push dateThu, 09 Feb 2017 19:59:00 +0000
reviewersmconnor
bugs1338260
milestone54.0a1
Bug 1338260. Add Fennec-only UA override for directv.com. r?mconnor They use an older version of Sencha Touch (v2.1.0) which is known to not be compatibile with Firefox. However, pretending to be Chrome fixes the issue of not being able to scroll and various paint bugs. MozReview-Commit-ID: K35ll42Xxlt
mobile/android/app/ua-update.json.in
--- a/mobile/android/app/ua-update.json.in
+++ b/mobile/android/app/ua-update.json.in
@@ -4,10 +4,12 @@
 // NOTE: trailing commas are not valid JSON and will prevent the CDN from syncing.
 {
   "weather.yahoo.co.jp": "Mozilla/5.0 (Linux; Android 5.0.2; Galaxy Nexus Build/IMM76B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.93 Mobile Safari/537.36",
   // bug 1177298, lohaco.jp
   "lohaco.jp": "Mozilla/5.0 (Linux; Android 5.0.2; Galaxy Nexus Build/IMM76B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.93 Mobile Safari/537.36",
   // bug 1177298, www.nhk.or.jp
   "nhk.or.jp": "\\)\\s# AppleWebKit ",
   // bug 1177298, uniqlo.com
-  "uniqlo.com": "\\)\\s#) Mobile Safari "
+  "uniqlo.com": "\\)\\s#) Mobile Safari ",
+  // bug 1338260, directv.com
+  "directv.com": "Mozilla/5.0 (Linux; Android 6.0.1; SM-G920F Build/MMB29K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.91 Mobile Safari/537.36"
 }