Chrome DevTools

IO Domain

Input/Output operations for streams produced by DevTools.

Methods

Types

Methods

Chrome DevTools

IO.close #

Close the stream, discard any temporary backing storage.

Parameters

handle
StreamHandle

Handle of the stream to close.


Chrome DevTools

IO.read #

Read a chunk of the stream

Parameters

handle
StreamHandle

Handle of the stream to read.

offset
Optional
integer

Seek to the specified offset before reading (if not specified, proceed with offset following the last read). Some types of streams may only support sequential reads.

size
Optional
integer

Maximum number of bytes to read (left upon the agent discretion if not specified).

Return object

base64Encoded
Optional
boolean

Set if the data is base64-encoded

data
string

Data that were read.

eof
boolean

Set if the end-of-file condition occurred while reading.


Chrome DevTools

IO.resolveBlob #

Return UUID of Blob object specified by a remote object id.

Parameters

objectId
Runtime.RemoteObjectId

Object id of a Blob object wrapper.

Return object

uuid
string

UUID of the specified Blob.

Types

Chrome DevTools

IO.StreamHandle #

This is either obtained from another method or specified as blob:<uuid> where <uuid> is an UUID of a Blob.

Type: string