Closed Bug 1063008 Opened 10 years ago Closed 10 years ago

navigator.userAgent says "Linux" rather than "Android"

Categories

(Firefox for Android Graveyard :: General, defect)

32 Branch
ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jsp, Unassigned)

Details

Attachments

(1 file)

https://developer.mozilla.org/en-US/docs/Web/HTTP/Gecko_user_agent_string_reference#Android says that the user agent string should include "Android" on Android devices.

Steps to reproduce:
1. Run the attached test page on an Android device.

Expected results:
The user agent string includes "Android".

Actual results:
On my Nexus 7 with Fx 32, the user agent is "Mozilla/5.0 (X11; Linux x86_64; rv: 19.0) Gecko/20100101 Firefox/19.0".  This is astonishing on three counts: OS, X11, and 19.0.  (Maybe that's the UA string for the build machine?)
No Phony (UA Switcher) add-on installed, right? Tools -> Add-ons

On my Nexus 7 (2013), Firefox 32 my default UA is: Mozilla/5.0 (Android; Tablet; rv:32.0) Gecko/32.0 Firefox/32.0
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: