Linux Mac OSX Windows

Implemented by

 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.
[scriptable, uuid(2848ab92-d912-11d9-89f7-001124787b2e)]
interface nsIXULRuntime : nsISupports

Attributes

 Whether the application was launched in safe mode.
readonly attribute boolean inSafeMode
 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".
attribute boolean logConsoleErrors
 A string tag identifying the current operating system. This is taken
 from the OS_TARGET configure variable. It will always be available.
readonly attribute AUTF8String OS
 A 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 <processor>-<compilerABI>, for example:
   x86-msvc
   ppc-gcc3

 This value should almost always be used in combination with "OS".

 @throw NS_ERROR_NOT_AVAILABLE if not available.
readonly attribute AUTF8String XPCOMABI