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
This commit is contained in:
bzrmirror%bugzilla.org 2014-11-20 15:30:49 +00:00
parent 98837ad3f5
commit a5fa03b9e1
3 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
9213
9214

View File

@ -1 +1 @@
ee5198e9e0c4197327f96f27c7e4347259dc5a74
e673eb9a8a8ad26a0016d5806c8fec2c5e5a096b

View File

@ -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"],