Search completed in 1.22 seconds.
1 results for "file_object":
File object - Archive of obsolete content
Archive › Mozilla › SpiderMonkey › File object
Warning: This section describes the File component of the SpiderMonkey JavaScript interpreter. File is non-standard, not generally compiled into distributions, is a potential source of huge security holes, and not well tested. Getting Started In order to use the File object from your JavaScript programs, you must enable it by setting the make variable JS_HAS_FILE_OBJECT during the compilation of your Spidermonkey engine. ...
... Started In order to use the File object from your JavaScript programs, you must enable it by setting the make variable JS_HAS_FILE_OBJECT during the compilation of your Spidermonkey engine. If you are building a standalone version of Spidermonkey (see: SpiderMonkey Build Documentation), this variable can be added on the make command line, like so: cd mozilla/js/src make -f Makefile.ref JS_HAS_FILE_OBJECT=1 Alternatively, if you are building a larger product (such as a browser) and want to include the File object, you may need to perform minor Makefile surgery. Summary Non-Standard Server-Side Object This object lets you work files and directories on the local filesystem, and create OS pipelines. Creating a pipeline involves spawning arbitrary processes; this means that giving a script access...