aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/UserAgent.pm
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:17:16 +0000
commit1fc447ad3467f47d773a9ca6e9caf31e7867f77d (patch)
tree43152d270e37e8f78b0c54c2bd03a0f4e8d2c6cb /Bugzilla/UserAgent.pm
parentdc5be4da6caca11c84f45068f9bf60786df7d918 (diff)
downloadbugs-1fc447ad3467f47d773a9ca6e9caf31e7867f77d.tar
bugs-1fc447ad3467f47d773a9ca6e9caf31e7867f77d.tar.gz
bugs-1fc447ad3467f47d773a9ca6e9caf31e7867f77d.tar.bz2
bugs-1fc447ad3467f47d773a9ca6e9caf31e7867f77d.tar.xz
bugs-1fc447ad3467f47d773a9ca6e9caf31e7867f77d.zip
Bug 1101151: OS sniffing should detect Windows 10 from "Windows NT 6.4" instead of detecting Windows NT
r=LpSolit,a=glob
Diffstat (limited to 'Bugzilla/UserAgent.pm')
-rw-r--r--Bugzilla/UserAgent.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/UserAgent.pm b/Bugzilla/UserAgent.pm
index 963e30511..6ceb9d3c5 100644
--- a/Bugzilla/UserAgent.pm
+++ b/Bugzilla/UserAgent.pm
@@ -106,6 +106,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"],