Package-level declarations

Types

Link copied to clipboard

A dummy response object for the MemoryDomain.forciblyPurgeJavaScriptMemory command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class GetAllTimeSamplingProfileResponse(val profile: SamplingProfile)

Response type for the MemoryDomain.getAllTimeSamplingProfile command.

Link copied to clipboard
@Serializable
data class GetBrowserSamplingProfileResponse(val profile: SamplingProfile)

Response type for the MemoryDomain.getBrowserSamplingProfile command.

Link copied to clipboard
@Serializable
data class GetDOMCountersResponse(val documents: Int, val nodes: Int, val jsEventListeners: Int)

Response type for the MemoryDomain.getDOMCounters command.

Link copied to clipboard
@Serializable
data class GetSamplingProfileResponse(val profile: SamplingProfile)

Response type for the MemoryDomain.getSamplingProfile command.

Link copied to clipboard
Link copied to clipboard
@Serializable
data class Module(val name: String, val uuid: String, val baseAddress: String, val size: Double)

Executable module information

Link copied to clipboard

A dummy response object for the MemoryDomain.prepareForLeakDetection command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
enum PressureLevel : Enum<PressureLevel>

Memory pressure level.

Link copied to clipboard
@Serializable
data class SamplingProfile(val samples: List<SamplingProfileNode>, val modules: List<Module>)

Array of heap profile samples.

Link copied to clipboard
@Serializable
data class SamplingProfileNode(val size: Double, val total: Double, val stack: List<String>)

Heap profile sample.

@Serializable
data class SetPressureNotificationsSuppressedRequest(val suppressed: Boolean)

Request object containing input parameters for the MemoryDomain.setPressureNotificationsSuppressed command.

A dummy response object for the MemoryDomain.setPressureNotificationsSuppressed command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SimulatePressureNotificationRequest(val level: PressureLevel)

Request object containing input parameters for the MemoryDomain.simulatePressureNotification command.

Link copied to clipboard

A dummy response object for the MemoryDomain.simulatePressureNotification command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class StartSamplingRequest(val samplingInterval: Int? = null, val suppressRandomness: Boolean? = null)

Request object containing input parameters for the MemoryDomain.startSampling command.

Link copied to clipboard
@Serializable
object StartSamplingResponse

A dummy response object for the MemoryDomain.startSampling command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
object StopSamplingResponse

A dummy response object for the MemoryDomain.stopSampling command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.