mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
WIP: Bug 1737177: fix about:support display of S mode r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D135742
This commit is contained in:
parent
d20ee45260
commit
7906b942c1
@ -201,7 +201,7 @@ var Troubleshoot = {
|
||||
// when done, it must pass its data to the callback. The resulting snapshot
|
||||
// object will contain a name => data entry for each provider.
|
||||
var dataProviders = {
|
||||
application: function application(done) {
|
||||
application: async function application(done) {
|
||||
let data = {
|
||||
name: Services.appinfo.name,
|
||||
osVersion:
|
||||
@ -222,7 +222,7 @@ var dataProviders = {
|
||||
};
|
||||
|
||||
if (Services.sysinfo.getProperty("name") == "Windows_NT") {
|
||||
if (Services.sysinfo.processInfo.isWindowsSMode) {
|
||||
if ((await Services.sysinfo.processInfo).isWindowsSMode) {
|
||||
data.osVersion += " S";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user