import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol-mapping.d.ts";
const { Events } = default;
Properties
Fired when breakpoint is resolved to an actual script and location.
Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
Fired when virtual machine fails to parse the script.
Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
If heap objects tracking has been started then backend may send update for one or more fragments
If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.
Sent when new profile recording is started using console.profile() call.
Reports coverage delta since the last poll (either from an event like this, or from
takePreciseCoverage
for the current isolate. May only be sent if precise code
coverage has been started. This event can be trigged by the embedder to, for example,
trigger collection of coverage data immediatelly at a certain point in time.
Notification is issued every time when binding is called.
Issued when console API was called.
Issued when unhandled exception was revoked.
Issued when exception was thrown and unhandled.
Issued when new execution context is created.
Issued when execution context is destroyed.
Issued when object should be inspected (for example, as a result of inspect() command line API call).
Event for when an animation has been cancelled.
Event for each animation that has been created.
Event for animation that has been started.
Called when the recording state for the service has been updated.
Called with all existing backgroundServiceEvents when enabled, and all new events afterwards if enabled and recording.
Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded web font
Fires whenever a MediaQuery result changes (for example, after a browser window has been resized.) The current implementation considers only viewport-dependent media features.
Fired whenever an active document stylesheet is added.
Fired whenever a stylesheet is changed as a result of the client operation.
Fired whenever an active document stylesheet is removed.
This is fired whenever the list of available sinks changes. A sink is a device or a software surface that you can cast to.
This is fired whenever the outstanding issue/error message changes. |issueMessage| is empty if there is no issue.
Fired when Element
's attribute is modified.
Fired when Element
's attribute is removed.
Mirrors DOMCharacterDataModified
event.
Fired when Container
's child node count has changed.
Called when distrubution is changed.
Fired when Element
's inline style is modified via a CSS property modification.
Called when a pseudo element is added to an element.
Called when a pseudo element is removed from an element.
Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node ids.
Called when shadow root is popped from the element.
Called when shadow root is pushed into the element.
Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
Issued when the target starts or stops needing BeginFrames. Deprecated. Issue beginFrame unconditionally instead and use result from beginFrame to detect whether the frames were suppressed.
Fired when remote debugging connection is about to be terminated. Contains detach reason.
Fired when data chunk was received over the network.
Fired when EventSource message is received.
Fired when HTTP request has failed to load.
Fired when HTTP request has finished loading.
Details of an intercepted HTTP request, which must be either allowed, blocked, modified or mocked. Deprecated, use Fetch.requestPaused instead.
Fired if request ended up loading from cache.
Fired when page is about to send HTTP request.
Fired when resource loading priority is changed
Fired when a signed exchange was received over the network
Fired when HTTP response is available.
Fired when WebSocket message error occurs.
Fired when WebSocket message is received.
Fired when WebSocket message is sent.
Fired when WebSocket handshake response becomes available.
Fired when WebSocket is about to initiate handshake.
Fired when additional information about a requestWillBeSent event is available from the network stack. Not every requestWillBeSent event will have an additional requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent or requestWillBeSentExtraInfo will be fired first for the same request.
Fired when additional information about a responseReceived event is available from the network stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for it, and responseReceivedExtraInfo may be fired before or after responseReceived.
Fired when the node should be inspected. This happens after call to setInspectMode
or when
user manually inspects an element.
Fired when the node should be highlighted. This happens after call to setInspectMode
.
Fired when user asks to capture screenshot of some area on the page.
Emitted only when page.interceptFileChooser
is enabled.
Fired when frame has been attached to its parent.
Fired when frame has been detached from its parent.
Fired when frame has started loading.
Fired when frame has stopped loading.
Fired when page is about to start a download.
Fired when download makes progress. Last call has |done| == true.
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been closed.
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to open.
Fired for top level page lifecycle events such as navigation, load, paint, etc.
Compressed image data requested by the startScreencast
.
Fired when the page with currently enabled screencast was shown or hidden `.
Fired when a new window is going to be opened, via window.open(), link click, form submission, etc.
Issued for every compilation cache generated. Is only available if Page.setGenerateCompilationCache is enabled.
There is a certificate error. If overriding certificate errors is enabled, then it should be
handled with the handleCertificateError
command. Note: this event does not fire if the
certificate error has been allowed internally. Only one client per target should override
certificate errors at the same time.
The security state of the page changed.
The security state of the page changed.
A cache's contents have been modified.
A cache has been added/deleted.
The origin's IndexedDB object store has been modified.
The origin's IndexedDB database list has been modified.
Issued when attached to target because of auto-attach or attachToTarget
command.
Issued when detached from target for any reason (including detachFromTarget
command). Can be
issued multiple times per target if multiple sessions have been attached to it.
Notifies about a new protocol message received from the session (as reported in
attachedToTarget
event).
Issued when a possible inspection target is created.
Issued when some information about a target has changed. This only happens between
targetCreated
and targetDestroyed
.
Informs that port was successfully bound and got a specified connection id.
Contains an bucket of collected trace events. When tracing is stopped collected events will be send as a sequence of dataCollected events followed by tracingComplete event.
Signals that tracing is stopped and there is no trace buffers pending flush, all data were delivered via dataCollected events.
Issued when the domain is enabled and the request URL matches the specified filter. The request is paused until the client responds with one of continueRequest, failRequest or fulfillRequest. The stage of the request can be determined by presence of responseErrorReason and responseStatusCode -- the request is at the response stage if either of these fields is present and in the request stage otherwise.
Issued when the domain is enabled with handleAuthRequests set to true. The request is paused until client responds with continueWithAuth.
Notifies that a new BaseAudioContext has been created.
Notifies that an existing BaseAudioContext will be destroyed.
Notifies that existing BaseAudioContext has changed some properties (id stays the same)..
Notifies that the construction of an AudioListener has finished.
Notifies that a new AudioListener has been created.
Notifies that a new AudioNode has been created.
Notifies that an existing AudioNode has been destroyed.
Notifies that a new AudioParam has been created.
Notifies that an existing AudioParam has been destroyed.
Notifies that two AudioNodes are connected.
Notifies that AudioNodes are disconnected. The destination can be null, and it means all the outgoing connections from the source are disconnected.
Notifies that an AudioNode is connected to an AudioParam.
Notifies that an AudioNode is disconnected to an AudioParam.
This can be called multiple times, and can be used to set / override / remove player properties. A null propValue indicates removal.
Send events as a list, allowing them to be batched on the browser for less congestion. If batched, events must ALWAYS be in chronological order.
Send a list of any messages that need to be delivered.
Send a list of any errors that need to be delivered.