aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorAlex Touchet <alextouchet@outlook.com>2023-03-30 23:18:53 -0700
committerGitHub <noreply@github.com>2023-03-30 23:18:53 -0700
commit8bdd322fae99ca68a12532594544dbd41081afa0 (patch)
treebce520ec6ae0ba950500870386b7336757610a1c /components
parent55587bb92d39905cd13936cff9216ce3b9770411 (diff)
downloadservo-8bdd322fae99ca68a12532594544dbd41081afa0.tar.gz
servo-8bdd322fae99ca68a12532594544dbd41081afa0.zip
Update user agent strings
Diffstat (limited to 'components')
-rw-r--r--components/servo/lib.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/components/servo/lib.rs b/components/servo/lib.rs
index b33b244cb93..bfd708b037c 100644
--- a/components/servo/lib.rs
+++ b/components/servo/lib.rs
@@ -1103,27 +1103,27 @@ enum UserAgent {
fn default_user_agent_string_for(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:78.0) Servo/1.0 Firefox/78.0";
+ "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Servo/1.0 Firefox/111.0";
#[cfg(all(target_os = "linux", not(target_arch = "x86_64")))]
const DESKTOP_UA_STRING: &'static str =
- "Mozilla/5.0 (X11; Linux i686; rv:78.0) Servo/1.0 Firefox/78.0";
+ "Mozilla/5.0 (X11; Linux i686; rv:109.0) Servo/1.0 Firefox/111.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:78.0) Servo/1.0 Firefox/78.0";
+ "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Servo/1.0 Firefox/111.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:78.0) Servo/1.0 Firefox/78.0";
+ "Mozilla/5.0 (Windows NT 10.0; rv:109.0) Servo/1.0 Firefox/111.0";
#[cfg(target_os = "macos")]
const DESKTOP_UA_STRING: &'static str =
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Servo/1.0 Firefox/78.0";
+ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Servo/1.0 Firefox/111.0";
match agent {
UserAgent::Desktop => DESKTOP_UA_STRING,
- UserAgent::Android => "Mozilla/5.0 (Android; Mobile; rv:68.0) Servo/1.0 Firefox/68.0",
+ UserAgent::Android => "Mozilla/5.0 (Android; Mobile; rv:109.0) Servo/1.0 Firefox/111.0",
UserAgent::iOS => {
- "Mozilla/5.0 (iPhone; CPU iPhone OS 13_6 like Mac OS X; rv:78.0) Servo/1.0 Firefox/78.0"
+ "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X; rv:109.0) Servo/1.0 Firefox/111.0"
},
}
}