aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2014-11-20 15:16:33 +0000
committerDavid Lawrence <dkl@mozilla.com>2014-11-20 15:18:04 +0000
commitd1634d5e553848e371dd07b00c1053d199d30764 (patch)
treec62abbd919bf0e3c6df7b3b3c5733370a264dc86
parentBug 1097798: Do not display the resolution in the dependency tree for open bu... (diff)
downloadbugzilla-d1634d5e553848e371dd07b00c1053d199d30764.tar.gz
bugzilla-d1634d5e553848e371dd07b00c1053d199d30764.tar.bz2
bugzilla-d1634d5e553848e371dd07b00c1053d199d30764.zip
Bug 1101151: OS sniffing should detect Windows 10 from "Windows NT 6.4" instead of detecting Windows NT
r=LpSolit,a=glob
-rw-r--r--Bugzilla/UserAgent.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/UserAgent.pm b/Bugzilla/UserAgent.pm
index 9f98d597c..5615f86ee 100644
--- a/Bugzilla/UserAgent.pm
+++ b/Bugzilla/UserAgent.pm
@@ -103,6 +103,7 @@ use constant OS_MAP => (
qr/\(.*Android.*\)/ => ["Android"],
# Windows
qr/\(.*Windows XP.*\)/ => ["Windows XP"],
+ qr/\(.*Windows NT 6\.4.*\)/ => ["Windows 10"],
qr/\(.*Windows NT 6\.3.*\)/ => ["Windows 8.1"],
qr/\(.*Windows NT 6\.2.*\)/ => ["Windows 8"],
qr/\(.*Windows NT 6\.1.*\)/ => ["Windows 7"],