Mar 19, 2012, 4:50:33 PM3/19/12
Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message as abuse
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
For the next version of the System spec (1.1?), I propose to clear up
some of the confusion around the 'platform' member with the following:
The 'system' module MUST export:
'platform' - a String or String-coercible object representing the
vendor-specific implementation of the CommonJS spec (narwhal, v8cgi,
etc). If 'platform' is an object, it MAY export 'name' and 'version'
as strings. UNSPECIFIED: How much information is included in the
String-coercion of a 'platform' object.
'os' - a String or String-coercible object representing the operating
system the 'platform' is running on. This MUST NOT exist in a sandbox
environment. If 'os' is an object, it MAY export 'name', 'version',
and 'hardware' as strings. 'hardware' should be an identifier of the
cpu architecture (i386, x64, etc) UNSPECIFIED: How much information is
included in the String-coercion of a 'os' object.
Any thoughts or suggestions?