Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use Windows 10 instead of 7 in user agent string
  • Loading branch information
atouchet committed Dec 16, 2019
1 parent c9baa5b commit f634100
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/config/opts.rs
Expand Up @@ -487,10 +487,10 @@ fn default_user_agent_string(agent: UserAgent) -> &'static str {

#[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:63.0) Servo/1.0 Firefox/63.0";
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Servo/1.0 Firefox/63.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:63.0) Servo/1.0 Firefox/63.0";
"Mozilla/5.0 (Windows NT 10.0; rv:63.0) Servo/1.0 Firefox/63.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.
Expand Down

0 comments on commit f634100

Please sign in to comment.