Runtime.PropertyDescriptor
Object property descriptor.
{
"id": "PropertyDescriptor",
"type": "object",
"description": "Object property descriptor.",
"properties": [
{
"name": "name",
"type": "string",
"description": "Property name or symbol description."
},
{
"name": "value",
"$ref": "RemoteObject",
"optional": true,
"description": "The value associated with the property."
},
{
"name": "writable",
"type": "boolean",
"optional": true,
"description": "True if the value associated with the property may be changed (data descriptors only)."
},
{
"name": "get",
"$ref": "RemoteObject",
"optional": true,
"description": "A function which serves as a getter for the property, or undefined
if there is no getter (accessor descriptors only)."
},
{
"name": "set",
"$ref": "RemoteObject",
"optional": true,
"description": "A function which serves as a setter for the property, or undefined
if there is no setter (accessor descriptors only)."
},
{
"name": "configurable",
"type": "boolean",
"description": "True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object."
},
{
"name": "enumerable",
"type": "boolean",
"description": "True if this property shows up during enumeration of the properties on the corresponding object."
},
{
"name": "wasThrown",
"type": "boolean",
"optional": true,
"description": "True if the result was thrown during the evaluation."
},
{
"name": "isOwn",
"optional": true,
"type": "boolean",
"description": "True if the property is owned for the object."
},
{
"name": "symbol",
"$ref": "RemoteObject",
"optional": true,
"description": "Property symbol object, if the property is of the symbol
type."
}
]
}