ServerJS/Modules/Environment: Difference between revisions

m
→‎The Environment Function/Object: reserved additional terms for the environment
(Moved the "security" requirements to an amendment proposal for the module context.)
 
m (→‎The Environment Function/Object: reserved additional terms for the environment)
Line 22: Line 22:
** The label may be one of "log", "warn", "error", "pass", "fail".
** The label may be one of "log", "warn", "error", "pass", "fail".
** Any other, unspecified label must be in lower-case and begin with "x" and a vendor-specific label like "x-v8cgi-database".
** Any other, unspecified label must be in lower-case and begin with "x" and a vendor-specific label like "x-v8cgi-database".
* is: any member that has "is" as its first term is reserved for vendor and platform checks like "isRhino", "isJavaScriptCore", "isSpidermonkey", "isBrowser", &c.
* window: the "environment" may contain the global "window" object in permissive browser environments
* global: the "environment" may contain a reference to the global object in permissive environments
* posix: reserved for a posix subsystem interface
* fs: reserved for a securable file system interface
* dom: reserved for a securable dom interface
171

edits