summaryrefslogtreecommitdiffstats
path: root/Bugzilla/UserAgent.pm
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-08-04 21:33:38 +0200
committerDavid Lawrence <dkl@mozilla.com>2015-08-04 21:33:38 +0200
commit0e478b849f1be210f58fadef820800b210687013 (patch)
tree18631e3af6b5a5dff0742ed77c68ba2946395b02 /Bugzilla/UserAgent.pm
parent0cc42e2941f2f280b6924f5cd90dd5c144b4e601 (diff)
downloadbugzilla-0e478b849f1be210f58fadef820800b210687013.tar.gz
bugzilla-0e478b849f1be210f58fadef820800b210687013.tar.xz
Bug 1190836: Add user-agent detection of Windows 10
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 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"],