ExecutionContextDescription

@Serializable
data class ExecutionContextDescription(val id: Int, val origin: String, val name: String, val uniqueId: String, val auxData: Map<String, JsonElement>? = null)

Description of an isolated world.

Constructors

Link copied to clipboard
constructor(id: Int, origin: String, name: String, uniqueId: String, auxData: Map<String, JsonElement>? = null)

Properties

Link copied to clipboard
val auxData: Map<String, JsonElement>? = null

Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string}

Link copied to clipboard
val id: Int

Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed.

Link copied to clipboard

Human readable name describing given context.

Link copied to clipboard

Execution context origin.

Link copied to clipboard

A system-unique execution context identifier. Unlike the id, this is unique across multiple processes, so can be reliably used to identify specific context while backend performs a cross-process navigation.