Bug 1578501 [wpt PR 18803] - WebKit export of https://bugs.webkit.org/show_bug.cgi...
[gecko.git] / xpcom / system / nsISystemInfo.idl
blob40689d3ccbfa25ee48bf5d1721b989ce2cd74114
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;