Bug 1838739 - Initialize result of SetAsGPUOutOfMemoryError. r=webgpu-reviewers,nical
[gecko.git] / xpcom / system / nsISystemInfo.idl
blob0cadb7e4983e86eda6230d0797c88e4489eeaaf4
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include "nsISupports.idl"
8 [scriptable, uuid(09a0502b-cedc-4cae-bf7c-35662dbd1249)]
9 interface nsISystemInfo : nsISupports
11 /**
12 * Asynchronously get info about what types of disks we're using for the
13 * profile and binary.
14 * Note: only implemented on Windows, will return null elsewhere.
16 [implicit_jscontext]
17 readonly attribute Promise diskInfo;
19 /**
20 * Asynchronously get CountryCode info.
21 * Note: only implemented on macOS and Windows, will return null elsewhere.
23 [implicit_jscontext]
24 readonly attribute Promise countryCode;
26 /**
27 * Asynchronously gets OS info on the system's install year.
28 * Note: only implemented on Windows, will return null elsewhere.
30 [implicit_jscontext]
31 readonly attribute Promise osInfo;
33 /**
34 * Asynchronously gets process info that indicates if the process is running
35 * under Wow64 and WowARM64.
36 * Note: only implemented on Windows, will return null elsewhere.
38 [implicit_jscontext]
39 readonly attribute Promise processInfo;