Bug 1184320 - Add UA override to remove Android version for Gmail. r=Sebastian, a=ritu
authorMike Taylor <miket@mozilla.com>
Fri, 17 Jul 2015 12:11:00 -0400
changeset 268937 4c0cd1fa55ddaf2069bccc35e3797c3affd3937a
parent 268936 5ea6de5b4f822e915c94e7cc7e82112d232416a8
child 268938 e342d50c37d2b557fa8d98b1bffc475ab7233c26
push id4932
push userjlund@mozilla.com
push dateMon, 10 Aug 2015 18:23:06 +0000
treeherdermozilla-esr52@6dd5a4f5f745 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersSebastian, ritu
bugs1184320
milestone41.0a2
Bug 1184320 - Add UA override to remove Android version for Gmail. r=Sebastian, a=ritu
mobile/android/app/mobile.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -803,16 +803,18 @@ pref("gfx.canvas.azure.accelerated", tru
 // Disabling until we understand the cause of Bug 1178760
 pref("general.useragent.updates.enabled", false);
 pref("general.useragent.updates.url", "https://dynamicua.cdn.mozilla.net/0/%APP_ID%");
 pref("general.useragent.updates.interval", 604800); // 1 week
 pref("general.useragent.updates.retry", 86400); // 1 day
 
 // Youtube is broken with Android version in UA string. Bug 1174784.
 pref("general.useragent.override.youtube.com", "Android\\s\\d.+?;#Android;");
+// Gmail sends a busted site with Android version in UA string. Bug 1184320.
+pref("general.useragent.override.mail.google.com", "Android\\s\\d.+?;#Android;");
 
 // When true, phone number linkification is enabled.
 pref("browser.ui.linkify.phone", false);
 
 // Enables/disables Spatial Navigation
 pref("snav.enabled", true);
 
 // This url, if changed, MUST continue to point to an https url. Pulling arbitrary content to inject into