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)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: jsp, Unassigned)
Details
Attachments
(1 file)
532 bytes,
text/html
|
Details |
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?)
Comment 1•10 years ago
|
||
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
Comment 2•10 years ago
|
||
https://addons.mozilla.org/en-US/android/files/browse/194820/file/bootstrap.js#L74 Matches that UA with Phony.
Assignee | ||
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•