Linux Mac OSX Windows

  
[scriptable, uuid(b8816e56-1dd1-11b2-81dc-8ba99a833d9e)]
interface jsdIProperty : jsdIEphemeral

Constants

 FLAG_* values must be kept in sync with JSDPD_* #defines in jsdebug.h.

 visible to for/in loop */
const unsigned long FLAG_ENUMERATE = 1
 assignment is error */
const unsigned long FLAG_READONLY = 2
 property cannot be deleted */
const unsigned long FLAG_PERMANENT = 4
 property has an alias id */
const unsigned long FLAG_ALIAS = 8
 argument to function */
const unsigned long FLAG_ARGUMENT = 16
 local variable in function */
const unsigned long FLAG_VARIABLE = 32
 exception occurred looking up property, value is exception */
const unsigned long FLAG_EXCEPTION = 64
 native getter returned JS_FALSE without throwing an exception */
const unsigned long FLAG_ERROR = 128
 found via explicit lookup (property defined elsewhere.) */
const unsigned long FLAG_HINTED = 2048

Attributes

 jsdIValue representing the alias for this property. */
readonly attribute jsdIValue alias
 FLAG_* values OR'd together, representing the flags for this property. */
readonly attribute unsigned long flags
 Representation of a property of an object.  When an instance is invalid, all
 method and property access will result in a NS_UNAVAILABLE error.

 Internal use only. */
[noscript] readonly attribute JSDContext JSDContext
 Internal use only. */
[noscript] readonly attribute JSDProperty JSDProperty
 name for this property. */
readonly attribute jsdIValue name
 value of this property. */
readonly attribute jsdIValue value
 slot number if this property is a local variable or parameter. */
readonly attribute unsigned long varArgSlot