[bugzilla-gnome-org-upstream/4.4: 11/19] Bug 1101151: OS sniffing should detect Windows 10 from "Windows NT 6.4" instead of detecting Windows



commit d1634d5e553848e371dd07b00c1053d199d30764
Author: David Lawrence <dkl mozilla com>
Date:   Thu Nov 20 15:16:33 2014 +0000

    Bug 1101151: OS sniffing should detect Windows 10 from "Windows NT 6.4" instead of detecting Windows NT
    r=LpSolit,a=glob

 Bugzilla/UserAgent.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/Bugzilla/UserAgent.pm b/Bugzilla/UserAgent.pm
index 9f98d59..5615f86 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"],


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]