Runtime.getProperties
Returns properties of a given object. Object group of the result is inherited from the target object.
{
"name": "getProperties",
"parameters": [
{
"name": "objectId",
"$ref": "RemoteObjectId",
"description": "Identifier of the object to return properties for. objectId must be from the Debugger.evaluateOnCallFrame() function."
},
{
"name": "ownProperties",
"optional": true,
"type": "boolean",
"description": "If true, returns properties belonging only to the element itself, not to its prototype chain."
},
{
"name": "accessorPropertiesOnly",
"optional": true,
"type": "boolean",
"description": "If true, returns accessor properties (with getter/setter) only; internal properties are not returned either.",
"experimental": true
}
],
"returns": [
{
"name": "result",
"type": "array",
"items": {
"$ref": "PropertyDescriptor"
},
"description": "Object properties."
}
],
"description": "Returns properties of a given object. Object group of the result is inherited from the target object."
}