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-related constants, including errors, file opening modes, system configuration, etc.
Access to the native file system.
Utilities for defining functions that interact with the operating system.