From 0e478b849f1be210f58fadef820800b210687013 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 4 Aug 2015 19:33:38 +0000 Subject: Bug 1190836: Add user-agent detection of Windows 10 --- Bugzilla/UserAgent.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Bugzilla/UserAgent.pm') diff --git a/Bugzilla/UserAgent.pm b/Bugzilla/UserAgent.pm index 9c8686f0c..00be84c44 100644 --- a/Bugzilla/UserAgent.pm +++ b/Bugzilla/UserAgent.pm @@ -123,6 +123,7 @@ use constant OS_MAP => ( qr/\(.*Android.*\)/ => ["Android"], # Windows qr/\(.*Windows XP.*\)/ => ["Windows XP"], + qr/\(.*Windows NT 10\.0.*\)/ => ["Windows 10"], qr/\(.*Windows NT 6\.4.*\)/ => ["Windows 10"], qr/\(.*Windows NT 6\.3.*\)/ => ["Windows 8.1"], qr/\(.*Windows NT 6\.2.*\)/ => ["Windows 8"], -- cgit v1.2.3-24-g4f1b