Runtime.RemoteObject

Mirror object referencing original JavaScript object.

{
  "id": "RemoteObject",
  "type": "object",
  "description": "Mirror object referencing original JavaScript object.",
  "properties": [
    {
      "name": "type",
      "type": "string",
      "enum": [
        "object",
        "function",
        "undefined",
        "string",
        "number",
        "boolean",
        "symbol"
      ],
      "description": "Object type."
    },
    {
      "name": "subtype",
      "type": "string",
      "optional": true,
      "enum": [
        "array",
        "null",
        "node",
        "regexp",
        "date",
        "error",
        "map",
        "set",
        "weakmap",
        "weakset",
        "iterator",
        "class"
      ],
      "description": "Object subtype hint. Specified for object function (for class) type values only."
    },
    {
      "name": "className",
      "type": "string",
      "optional": true,
      "description": "Object class (constructor) name. Specified for object type values only."
    },
    {
      "name": "value",
      "type": "any",
      "optional": true,
      "description": "Remote object value (in case of primitive values or JSON values if it was requested)."
    },
    {
      "name": "description",
      "type": "string",
      "optional": true,
      "description": "String representation of the object."
    },
    {
      "name": "objectId",
      "$ref": "RemoteObjectId",
      "optional": true,
      "description": "Unique object identifier (for non-primitive values)."
    },
    {
      "name": "size",
      "type": "integer",
      "optional": true,
      "description": "Size of the array/collection. Specified for array/map/set/weakmap/weakset object type values only."
    },
    {
      "name": "classPrototype",
      "$ref": "RemoteObject",
      "optional": true,
      "description": "Remote object for the class prototype. Specified for class object type values only."
    },
    {
      "name": "preview",
      "$ref": "ObjectPreview",
      "optional": true,
      "description": "Preview containing abbreviated property values. Specified for object type values only."
    }
  ]
}