DOMDebugger
DOM debugging allows setting breakpoints on particular DOM operations and events. JavaScript execution will stop on these operations as if there was a regular breakpoint set.
Types
Link copied to clipboard
CSP Violation type.
Link copied to clipboard
DOM breakpoint type.
Link copied to clipboard
@Serializable
Object event listener.
Link copied to clipboard
@Serializable
Link copied to clipboard
Link copied to clipboard
@Serializable
Link copied to clipboard
@Serializable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Serializable
Link copied to clipboard
@Serializable
Link copied to clipboard
@Serializable
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
suspend fun getEventListeners(args: DOMDebugger.GetEventListenersParameter, mode: CommandMode = CommandMode.DEFAULT): DOMDebugger.GetEventListenersReturn
suspend fun getEventListeners(objectId: String, depth: Int? = null, pierce: Boolean? = null): DOMDebugger.GetEventListenersReturn
Returns event listeners of the given object.
Link copied to clipboard
suspend fun removeDOMBreakpoint(args: DOMDebugger.RemoveDOMBreakpointParameter, mode: CommandMode = CommandMode.DEFAULT)
Removes DOM breakpoint that was set using setDOMBreakpoint
.
Link copied to clipboard
suspend fun removeEventListenerBreakpoint(args: DOMDebugger.RemoveEventListenerBreakpointParameter, mode: CommandMode = CommandMode.DEFAULT)
Removes breakpoint on particular DOM event.
Link copied to clipboard
suspend fun removeInstrumentationBreakpoint(args: DOMDebugger.RemoveInstrumentationBreakpointParameter, mode: CommandMode = CommandMode.DEFAULT)
Removes breakpoint on particular native event.
Link copied to clipboard
suspend fun removeXHRBreakpoint(args: DOMDebugger.RemoveXHRBreakpointParameter, mode: CommandMode = CommandMode.DEFAULT)
Removes breakpoint from XMLHttpRequest.
Link copied to clipboard
suspend fun setBreakOnCSPViolation(args: DOMDebugger.SetBreakOnCSPViolationParameter, mode: CommandMode = CommandMode.DEFAULT)
Sets breakpoint on particular CSP violations.
Link copied to clipboard
suspend fun setDOMBreakpoint(args: DOMDebugger.SetDOMBreakpointParameter, mode: CommandMode = CommandMode.DEFAULT)
Sets breakpoint on particular operation with DOM.
Link copied to clipboard
suspend fun setEventListenerBreakpoint(args: DOMDebugger.SetEventListenerBreakpointParameter, mode: CommandMode = CommandMode.DEFAULT)
Sets breakpoint on particular DOM event.
Link copied to clipboard
suspend fun setInstrumentationBreakpoint(args: DOMDebugger.SetInstrumentationBreakpointParameter, mode: CommandMode = CommandMode.DEFAULT)
Sets breakpoint on particular native event.
Link copied to clipboard
suspend fun setXHRBreakpoint(args: DOMDebugger.SetXHRBreakpointParameter, mode: CommandMode = CommandMode.DEFAULT)
Sets breakpoint on XMLHttpRequest.