Closed Bug 962160 Opened 10 years ago Closed 10 years ago

ua-parser doesn't recognize FxOS tablet UA as Firefox OS device

Categories

(Web Compatibility :: Site Reports, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: miketaylr, Assigned: miketaylr)

References

()

Details

> r('Mozilla/5.0 (Tablet; rv:26.0) Gecko/18.0 Firefox/26.0')
{ string: 'Mozilla/5.0 (Tablet; rv:26.0) Gecko/18.0 Firefox/26.0',
  ua: 
   { family: 'Firefox',
     major: '26',
     minor: '0',
     patch: null },
  userAgent: 
   { family: 'Firefox',
     major: '26',
     minor: '0',
     patch: null },
  os: 
   { family: 'Other',
     major: null,
     minor: null,
     patch: null,
     patchMinor: null },
  device: { family: 'Other' },
  family: 'Firefox',
  major: 26,
  minor: 0,
  patch: undefined }

device.family should be "Firefox OS"
Pull request here: https://github.com/tobie/ua-parser/pull/331

(also typo in previous comment, should have ready "os.family should be Firefox OS"
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.