Open
Bug 1498213
Opened 7 years ago
Updated 3 years ago
Expose Windows build number Windows in AppConstants or sysinfo
Categories
(Toolkit :: General, defect, P5)
Toolkit
General
Tracking
()
ASSIGNED
People
(Reporter: dao, Assigned: mconley)
References
Details
Attachments
(2 files)
In bug 1496322, I needed access to the Windows 10 build number, and for lack of a better alternative, I used TelemetryEnvironment for that, which is somewhat wrong since my use case has nothing to with Telementry, plus the API is async, and as Gijs noted, "Having to wait for TelemetryEnvironment.onInitialized() is a bit unfortunate, esp. given that AFAICT getting the actual version number info is sync."
Updated•7 years ago
|
Priority: -- → P5
| Assignee | ||
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Assignee: nobody → mconley
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•6 years ago
|
||
TelemetryEnvironment was using jsctypes to get the version information,
which we can now skip. browser.js was using TelemetryEnvironment to determine
if the Windows 10 build was greater or equal to the 1809 release. Both now
can use nsISystemInfo.osVersionInfo directly.
Depends on D63373
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•