From a5fa03b9e193a52384bb79a3b44e7dcedf66d870 Mon Sep 17 00:00:00 2001 From: "bzrmirror%bugzilla.org" Date: Thu, 20 Nov 2014 15:30:49 +0000 Subject: [PATCH] Bug 1101151: OS sniffing should detect Windows 10 from "Windows NT 6.4" instead of detecting Windows NT r=LpSolit,a=glob git-svn-id: svn://10.0.0.236/trunk@265680 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- mozilla/webtools/bugzilla/.gitrev | 2 +- mozilla/webtools/bugzilla/Bugzilla/UserAgent.pm | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index 97961291562..cf84ca53496 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -9213 \ No newline at end of file +9214 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/.gitrev b/mozilla/webtools/bugzilla/.gitrev index 3c43f6e9176..18824c42980 100644 --- a/mozilla/webtools/bugzilla/.gitrev +++ b/mozilla/webtools/bugzilla/.gitrev @@ -1 +1 @@ -ee5198e9e0c4197327f96f27c7e4347259dc5a74 \ No newline at end of file +e673eb9a8a8ad26a0016d5806c8fec2c5e5a096b \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/Bugzilla/UserAgent.pm b/mozilla/webtools/bugzilla/Bugzilla/UserAgent.pm index 963e3051139..6ceb9d3c5ce 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/UserAgent.pm +++ b/mozilla/webtools/bugzilla/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"],