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:
Ben Hearsum 2022-01-14 14:19:50 +00:00
parent d20ee45260
commit 7906b942c1

View File

@ -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";
}
}