infer firefoxos version from gecko version in ua

RESOLVED FIXED

Status

P3
normal
RESOLVED FIXED
5 years ago
2 years ago

People

(Reporter: willkg, Assigned: willkg)

Tracking

Details

(Whiteboard: u=user c=feedback p= s=input.2013q3)

We should add some code to infer the FirefoxOS version from the Gecko version number in the web form.


+++ This bug was initially created as a clone of Bug #915686 +++

Firefox OS versions can be identified by their Gecko version number. They are documented here:
https://developer.mozilla.org/en-US/docs/Gecko_user_agent_string_reference#Firefox_OS

We should break out 1.0, 1.1 and 1.2 for now:

They follow the following pattern as described at the MDN page above:

1.0 Mozilla/5.0 (Mobile; nnnn; rv:18.0) Gecko/18.0 Firefox/18.0
1.1 Mozilla/5.0 (Mobile; nnnn; rv:18.1) Gecko/18.1 Firefox/18.1
1.2 Mozilla/5.0 (Mobile; nnnn; rv:26.0) Gecko/26.0 Firefox/26.0
Summary: Add showfor support for Firefox OS → infer firefoxos version from gecko version in ua
Incidentally, right now we're doing it wrong and we're tagging Firefox OS responses with the firefox version. So we have a bunch of responses with version 18.0, some for 18.1 and a couple for 20.0 and 22.0 which is puzzling. So that should get fixed, too.
Grabbing this (belated) and putting it in the 2013q3 sprint.
Assignee: nobody → willkg
Whiteboard: u=user c=feedback p= s=input.2013q4 → u=user c=feedback p= s=input.2013q3
I pushed this to prod.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Product: Input → Input Graveyard
You need to log in before you can comment on or make changes to this bug.