diff options
author | Alex Touchet <alextouchet@outlook.com> | 2017-08-10 09:09:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-10 09:09:18 -0700 |
commit | 94c936aa2142a805500273958c36681f490fd1a3 (patch) | |
tree | dc428b435ef5c255381a2d43b80ec591300c3487 | |
parent | 53c6f8ea8bf1002d0c99c067601fe070dcd6bcf1 (diff) | |
download | servo-94c936aa2142a805500273958c36681f490fd1a3.tar.gz servo-94c936aa2142a805500273958c36681f490fd1a3.zip |
Update Firefox version in user agent
-rw-r--r-- | components/config/opts.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/components/config/opts.rs b/components/config/opts.rs index e94eef2772c..96ac781fff0 100644 --- a/components/config/opts.rs +++ b/components/config/opts.rs @@ -453,22 +453,22 @@ enum UserAgent { fn default_user_agent_string(agent: UserAgent) -> &'static str { #[cfg(all(target_os = "linux", target_arch = "x86_64"))] const DESKTOP_UA_STRING: &'static str = - "Mozilla/5.0 (X11; Linux x86_64; rv:37.0) Servo/1.0 Firefox/37.0"; + "Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Servo/1.0 Firefox/55.0"; #[cfg(all(target_os = "linux", not(target_arch = "x86_64")))] const DESKTOP_UA_STRING: &'static str = - "Mozilla/5.0 (X11; Linux i686; rv:37.0) Servo/1.0 Firefox/37.0"; + "Mozilla/5.0 (X11; Linux i686; rv:55.0) Servo/1.0 Firefox/55.0"; #[cfg(all(target_os = "windows", target_arch = "x86_64"))] const DESKTOP_UA_STRING: &'static str = - "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:37.0) Servo/1.0 Firefox/37.0"; + "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:55.0) Servo/1.0 Firefox/55.0"; #[cfg(all(target_os = "windows", not(target_arch = "x86_64")))] const DESKTOP_UA_STRING: &'static str = - "Mozilla/5.0 (Windows NT 6.1; rv:37.0) Servo/1.0 Firefox/37.0"; + "Mozilla/5.0 (Windows NT 6.1; rv:55.0) Servo/1.0 Firefox/55.0"; #[cfg(not(any(target_os = "linux", target_os = "windows")))] // Neither Linux nor Windows, so maybe OS X, and if not then OS X is an okay fallback. const DESKTOP_UA_STRING: &'static str = - "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:37.0) Servo/1.0 Firefox/37.0"; + "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:55.0) Servo/1.0 Firefox/55.0"; match agent { @@ -476,7 +476,7 @@ fn default_user_agent_string(agent: UserAgent) -> &'static str { DESKTOP_UA_STRING } UserAgent::Android => { - "Mozilla/5.0 (Android; Mobile; rv:37.0) Servo/1.0 Firefox/37.0" + "Mozilla/5.0 (Android; Mobile; rv:55.0) Servo/1.0 Firefox/55.0" } } } |