diff options
author | Alex Touchet <alextouchet@outlook.com> | 2020-01-31 14:32:42 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-31 14:32:42 -0800 |
commit | 77a9ff90745f0040643a3887b8d2376371db490a (patch) | |
tree | 034cb84432abc9993691ba7c70935537990331e8 /components/config/opts.rs | |
parent | 688d0768898343347b7b5ba140cbc6340677be90 (diff) | |
download | servo-77a9ff90745f0040643a3887b8d2376371db490a.tar.gz servo-77a9ff90745f0040643a3887b8d2376371db490a.zip |
Update user agent info
Diffstat (limited to 'components/config/opts.rs')
-rw-r--r-- | components/config/opts.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/components/config/opts.rs b/components/config/opts.rs index e534a042139..a56e8e27172 100644 --- a/components/config/opts.rs +++ b/components/config/opts.rs @@ -480,28 +480,28 @@ 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:63.0) Servo/1.0 Firefox/63.0"; + "Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Servo/1.0 Firefox/72.0"; #[cfg(all(target_os = "linux", not(target_arch = "x86_64")))] const DESKTOP_UA_STRING: &'static str = - "Mozilla/5.0 (X11; Linux i686; rv:63.0) Servo/1.0 Firefox/63.0"; + "Mozilla/5.0 (X11; Linux i686; rv:72.0) Servo/1.0 Firefox/72.0"; #[cfg(all(target_os = "windows", target_arch = "x86_64"))] const DESKTOP_UA_STRING: &'static str = - "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Servo/1.0 Firefox/63.0"; + "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Servo/1.0 Firefox/72.0"; #[cfg(all(target_os = "windows", not(target_arch = "x86_64")))] const DESKTOP_UA_STRING: &'static str = - "Mozilla/5.0 (Windows NT 10.0; rv:63.0) Servo/1.0 Firefox/63.0"; + "Mozilla/5.0 (Windows NT 10.0; rv:72.0) Servo/1.0 Firefox/72.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:63.0) Servo/1.0 Firefox/63.0"; + "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Servo/1.0 Firefox/72.0"; match agent { UserAgent::Desktop => DESKTOP_UA_STRING, - UserAgent::Android => "Mozilla/5.0 (Android; Mobile; rv:63.0) Servo/1.0 Firefox/63.0", + UserAgent::Android => "Mozilla/5.0 (Android; Mobile; rv:68.0) Servo/1.0 Firefox/68.0", UserAgent::iOS => { - "Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X; rv:63.0) Servo/1.0 Firefox/63.0" + "Mozilla/5.0 (iPhone; CPU iPhone OS 13_3 like Mac OS X; rv:72.0) Servo/1.0 Firefox/72.0" }, } } |