summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-07-18 08:34:28 +0200
committerByron Jones <glob@mozilla.com>2014-07-18 08:34:28 +0200
commit4f6697974d88b152afe62f0d1b844dfd6a4d1f3d (patch)
tree328d39749d1a6a95cf47d0e39525c4b9f0bb3aad
parenta6b6a99ab9792504df78fe5303ed0655cfb8a4b8 (diff)
downloadbugzilla-4f6697974d88b152afe62f0d1b844dfd6a4d1f3d.tar.gz
bugzilla-4f6697974d88b152afe62f0d1b844dfd6a4d1f3d.tar.xz
Bug 1040580: Bugzilla detects Firefox OS device as Hardware:Other, OS:Other
-rw-r--r--Bugzilla/UserAgent.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/UserAgent.pm b/Bugzilla/UserAgent.pm
index 4b729a4ee..db95150e4 100644
--- a/Bugzilla/UserAgent.pm
+++ b/Bugzilla/UserAgent.pm
@@ -165,6 +165,8 @@ use constant OS_MAP => (
qr/\(.*Mac OS 8[^.].*\)/ => ["Mac System 8.0"],
qr/\(.*Mac OS 8.*\)/ => ["Mac System 8.6"],
qr/\(.*Darwin.*\)/ => [("Mac OS X 10.0", "Mac OS X")],
+ # Firefox OS
+ qr/\(Mobile;.*Gecko.*Firefox/ => ["Gonk (Firefox OS)"],
# Silly
qr/\(.*Mac.*PowerPC.*\)/ => ["Mac System 9.x"],
qr/\(.*Mac.*PPC.*\)/ => ["Mac System 9.x"],