puppeteer/new-docs/puppeteer.protocol.runtime.remoteobject.md
Johan Bay e89e264a16
feat(chromium): roll Chromium to r782078 (#6250)
This corresponds to Chromium 85.0.4182.0.

This roll includes: 
- Enable SameSiteByDefaultCookies and CookiesWithoutSameSiteMustBeSecure
   https://crrev.com/c/2231445
- [FlexNG] Enable FlexNG by default
   https://crrev.com/c/2216595

Closes #6151.
2020-07-20 17:17:06 +02:00

2.5 KiB

Home > puppeteer > Protocol > Runtime > RemoteObject

Protocol.Runtime.RemoteObject interface

Mirror object referencing original JavaScript object.

Signature:

export interface RemoteObject 

Properties

Property Type Description
className string Object class (constructor) name. Specified for object type values only.
customPreview CustomPreview
description string String representation of the object.
objectId RemoteObjectId Unique object identifier (for non-primitive values).
preview ObjectPreview Preview containing abbreviated property values. Specified for object type values only.
subtype ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'i32' | 'i64' | 'f32' | 'f64' | 'v128' | 'externref') Object subtype hint. Specified for object or wasm type values only. (RemoteObjectSubtype enum)
type ('object' | 'function' | 'undefined' | 'string' | 'number' | 'boolean' | 'symbol' | 'bigint' | 'wasm') Object type. (RemoteObjectType enum)
unserializableValue UnserializableValue Primitive value which can not be JSON-stringified does not have value, but gets this property.
value any Remote object value in case of primitive values or JSON values (if it was requested).