JavaScript-1.5 Reference

JSPROP_EXPORTED Macro

Summary

Flag that indicates a property is exported from a JS object.

Syntax

JSPROP_EXPORTED

Description

JSPROP_EXPORTED is a flag value that indicates that a property can be imported by other scripts or objects, typically to borrow security privileges.

Notes

Property flags cannot be changed at run time. Instead, you either pass a set of flags as an argument to JS_DefineProperty to create a single property with fixed flag values, or you set property flags in a JSPropertySpec struct which is then passed to the JS_DefineProperties function to create multiple properties on a single object.

See Also

Groups [ Macro ]
Documents [ LXR ID Search ]
Entries [ JSPROP_ENUMERATE | JSPROP_INDEX | JSPROP_PERMANENT | JSPROP_READONLY | JSPropertySpec | JS_DefineProperties | JS_DefineProperty ]

This page was generated by APIDOC