Closed
Bug 965283
Opened 11 years ago
Closed 7 years ago
System.appinfo.OS reports Android for B2G devices
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: ato, Unassigned)
Details
The XPCOM interface System.appinfo exposes a property "OS" which on a
B2G emulator returns "Android". It seems to be set by the build
system through the OS_TARGET build variable.
Our remote control protocol Marionette implements the W3C WebDriver
specification which mandates we provide a way to retrieve the current
platform name reliably. Although we can deduce that the current
platform is B2G using other methods, it seems plausible other
dependents on System.appinfo.OS might also be interested in such a
change.
The platform Marionette operates at is Gecko so I'd expect it to
return "B2G" (unbranded Gaia) or "Firefox OS".
This seems to concern
http://mxr.mozilla.org/mozilla-central/source/xpcom/system/nsIXULAppInfo.idl
Comment 1•11 years ago
|
||
I believe this is intentional, since we're actually compiling gecko against the android base. I'm not sure what it would affect to change this.
Reporter | ||
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•