summaryrefslogtreecommitdiffstats
path: root/Bugzilla/UserAgent.pm
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-04-16 22:17:44 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-04-16 22:17:44 +0200
commiteca9fc71142a37ed727e8ac5c7cc5a7dbbfd1fbe (patch)
tree4200fb48f6039272488970d0f3df45645bdfbfc3 /Bugzilla/UserAgent.pm
parent9eca3cf30a47e5186a6edd1a36f8023aff595105 (diff)
downloadbugzilla-eca9fc71142a37ed727e8ac5c7cc5a7dbbfd1fbe.tar.gz
bugzilla-eca9fc71142a37ed727e8ac5c7cc5a7dbbfd1fbe.tar.xz
Bug 745657 - backport bug 714368 to bmo (Add Windows 8 detection)
r=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 c0cda2586..3e2ca7f99 100644
--- a/Bugzilla/UserAgent.pm
+++ b/Bugzilla/UserAgent.pm
@@ -121,6 +121,7 @@ use constant OS_MAP => (
qr/\(.*HP-?UX.*\)/ => ["HP-UX"],
# Windows
qr/\(.*Windows XP.*\)/ => ["Windows XP"],
+ qr/\(.*Windows NT 6\.2.*\)/ => ["Windows 8"],
qr/\(.*Windows NT 6\.1.*\)/ => ["Windows 7"],
qr/\(.*Windows NT 6\.0.*\)/ => ["Windows Vista"],
qr/\(.*Windows NT 5\.2.*\)/ => ["Windows Server 2003"],