From eca9fc71142a37ed727e8ac5c7cc5a7dbbfd1fbe Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Mon, 16 Apr 2012 13:17:44 -0700 Subject: Bug 745657 - backport bug 714368 to bmo (Add Windows 8 detection) r=glob --- Bugzilla/UserAgent.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Bugzilla/UserAgent.pm') 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"], -- cgit v1.2.3-24-g4f1b