crashreportcontext

package
v0.157.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package crashreportcontext provides the Chrome DevTools Protocol commands, types, and events for the CrashReportContext domain.

This domain exposes the current state of the CrashReportContext API.

Generated by the cdproto-gen command.

Index

Constants

View Source
const (
	CommandGetEntries = "CrashReportContext.getEntries"
)

Command names.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Key     string      `json:"key"`
	Value   string      `json:"value"`
	FrameID cdp.FrameID `json:"frameId"` // The ID of the frame where the key-value pair was set.
}

Entry key-value pair in CrashReportContext.

See: https://chromedevtools.github.io/devtools-protocol/tot/CrashReportContext#type-CrashReportContextEntry

type GetEntriesParams

type GetEntriesParams struct{}

GetEntriesParams returns all entries in the CrashReportContext across all frames in the page.

func GetEntries

func GetEntries() *GetEntriesParams

GetEntries returns all entries in the CrashReportContext across all frames in the page.

See: https://chromedevtools.github.io/devtools-protocol/tot/CrashReportContext#method-getEntries

func (*GetEntriesParams) Do

func (p *GetEntriesParams) Do(ctx context.Context) (entries []*Entry, err error)

Do executes CrashReportContext.getEntries against the provided context.

returns:

entries

type GetEntriesReturns

type GetEntriesReturns struct {
	Entries []*Entry `json:"entries,omitempty,omitzero"`
}

GetEntriesReturns return values.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL