Readonly OSA string tag identifying the current operating system. This is taken from the OS_TARGET configure variable. It will always be available.
Readonly XPCOMABIA string tag identifying the binary ABI of the current processor and compiler vtable. This is taken from the TARGET_XPCOM_ABI configure variable. It may not be available on all platforms, especially unusual processor or compiler combinations.
The result takes the form
This value should almost always be used in combination with "OS".
NS_ERROR_NOT_AVAILABLE if not available.
Readonly accessibilityIf true, the accessibility service is running.
Readonly accessibilityExecutable of Windows service that activated accessibility.
Readonly accessibleIf true, the AccessibleHandler dll is used.
Readonly browserIf true, browser tabs may be opened by default in a different process from the main browser UI.
Readonly chromeWhether the chrome color-scheme is dark
Readonly contentWhether the content color-scheme derived from the app theme is dark
Readonly defaultThe default update channel (MOZ_UPDATE_CHANNEL).
Readonly desktopReturns the desktop environment identifier. Only meaningful on GTK
Readonly distributionIDThe distribution ID for this build (MOZ_DISTRIBUTION_ID).
Readonly drawWhether we should draw over the titlebar
Readonly fissionWhether Fission should be automatically enabled for new browser windows. This may not match the value of the 'fission.autostart' pref.
This value is guaranteed to remain constant for the length of a browser session.
Readonly fissionThe deciding factor which caused Fission to be enabled or disabled in
this session. The string version is the same of the name of the constant,
without the leading eFission, and with an initial lower-case letter.
Readonly fissionReadonly inWhether the application was launched in safe mode.
Readonly is64Indicates whether the current Firefox build is 64-bit.
Readonly isIndicates whether or not text recognition of images supported by the OS.
Readonly lastReturns the last application build ID that used the current profile or null if the last build ID could not be found (compatibility.ini was either missing or invalid). Throws NS_ERROR_UNAVAILABLE if called from a content process.
Readonly lastReturns the last application version that used the current profile or null if the last version could not be found (compatibility.ini was either missing or invalid). Throws NS_ERROR_UNAVAILABLE if called from a content process.
Readonly launcherReturns a value corresponding to one of the |mozilla::LauncherRegistryInfo::EnabledState| values.
Whether to write console errors to a log file. If a component encounters startup errors that might prevent the app from showing proper UI, it should set this flag to "true".
Readonly maxReturns the number of content processes to use for normal web pages. If this value is > 1, then e10s-multi should be considered to be "on".
NB: If browserTabsRemoteAutostart is false, then this value has no meaning and e10s should be considered to be "off"!
Readonly processIDThe system process ID of the caller's process.
Readonly processThe path of the shortcut used to start the current process, or "" if none.
Windows Main process only, otherwise throws NS_ERROR_NOT_AVAILABLE
May be mising in some cases where the user did launch from a shortcut:
NS_ERROR_NOT_AVAILABLE if not available.
Readonly processThe type of the caller's process. Returns one of the values above.
Readonly remoteThe type of remote content process we're running in. null if we're in the parent/chrome process. This can contain a URI if Fission is enabled, so don't use it for any kind of telemetry.
Readonly replacedModification time of the profile lock before the profile was locked on this startup. Used to know the last time the profile was used and not closed cleanly. This is set to 0 if there was no existing profile lock.
Readonly restartedTrue if this application was started by the OS as part of an automatic restart mechanism (such as RegisterApplicationRestart on Windows).
Readonly sessionWhether session history is stored in the parent process.
Readonly shouldTemporary, do not use. Indicates if an incompat version of JAWS screen reader software is loaded in our process space.
Readonly uniqueA globally unique and non-recycled ID of the caller's process.
Readonly widgetA string tag identifying the target widget toolkit in use. This is taken from the MOZ_WIDGET_TOOLKIT configure variable.
Readonly win32kReadonly win32kReadonly win32kReadonly windowsDLLBlocklistTrue if Windows DLL blocklist initialized correctly. This is primarily for automated testing purposes.
Optional aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Generated using TypeDoc
Provides information about the XUL runtime.
Status
UNSTABLE - This interface is not frozen and will probably change in future releases. If you need this functionality to be stable/frozen, please contact Benjamin Smedberg.