mozilla/input.mozilla.org — pull request #54 by mythmon (2012-10-31 00:00:19+00:00)
Title: [Bug 803653] Detect Firefox OS as a platform.

Firefox OS doesn't declare a platform because "the web is the platform". This is really unhelpful for Input's purposes, so we are faking it. If something is mobile and doesn't declare a platform, then it must be Firefox OS as a fallback.

Also some clean up in code I ran into.

I'm not entirely certain about this code, so I'd like another set of eyes, and the tests don't really give me much confidence.

f?