The JavaScript OS module contains tools that allow chrome content (i.e. platform and add-ons) to interact with the host operating system.

At the time of this writing, some of the features of this module are available only to chrome workers.

OS.Constants
OS-related constants, including errors, file opening modes, system configuration, etc.
OS.File
Access to the native file system.
OS.Shared
Utilities for defining functions that interact with the operating system.