protocol/audits library

Classes

AffectedCookie
Information about a cookie that is affected by an inspector issue.
AffectedFrame
Information about the frame affected by an inspector issue.
AffectedRequest
Information about a request that is affected by an inspector issue.
AttributionReportingIssueDetails
Details for issues around "Attribution Reporting API" usage. Explainer: https://github.com/WICG/attribution-reporting-api
AuditsApi
Audits domain allows investigation of page violations and possible improvements.
BlockedByResponseIssueDetails
Details for a request that has been blocked with the BLOCKED_BY_RESPONSE code. Currently only used for COEP/COOP, but may be extended to include some CSP errors in the future.
ClientHintIssueDetails
This issue tracks client hints related issues. It's used to deprecate old features, encourage the use of new ones, and provide general guidance.
ContentSecurityPolicyIssueDetails
CookieIssueDetails
This information is currently necessary, as the front-end has a difficult time finding a specific cookie. With this, we can convey specific error information without the cookie.
CorsIssueDetails
Details for a CORS related issue, e.g. a warning or error related to CORS RFC1918 enforcement.
DeprecationIssueDetails
This issue tracks information needed to print a deprecation message. https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/third_party/blink/renderer/core/frame/deprecation/README.md
FederatedAuthRequestIssueDetails
GenericIssueDetails
Depending on the concrete errorType, different properties are set.
GetEncodedResponseResult
HeavyAdIssueDetails
InspectorIssue
An inspector issue reported from the back-end.
InspectorIssueDetails
This struct holds a list of optional fields with additional information specific to the kind of issue. When adding a new issue code, please also add a new optional field to this type.
IssueId
A unique id for a DevTools inspector issue. Allows other entities (e.g. exceptions, CDP message, console messages, etc.) to reference an issue.
LowTextContrastIssueDetails
MixedContentIssueDetails
QuirksModeIssueDetails
Details for issues about documents in Quirks Mode or Limited Quirks Mode that affects page layouting.
SharedArrayBufferIssueDetails
Details for a issue arising from an SAB being instantiated in, or transferred to a context that is not cross-origin isolated.
SourceCodeLocation
TrustedWebActivityIssueDetails

Enums

AttributionReportingIssueType
BlockedByResponseReason
Enum indicating the reason a response has been blocked. These reasons are refinements of the net error BLOCKED_BY_RESPONSE.
ClientHintIssueReason
ContentSecurityPolicyViolationType
CookieExclusionReason
CookieOperation
CookieWarningReason
FederatedAuthRequestIssueReason
Represents the failure reason when a federated authentication reason fails. Should be updated alongside RequestIdTokenStatus in third_party/blink/public/mojom/devtools/inspector_issue.mojom to include all cases except for success.
GenericIssueErrorType
HeavyAdReason
HeavyAdResolutionStatus
InspectorIssueCode
A unique identifier for the type of issue. Each type may use one of the optional fields in InspectorIssueDetails to convey more specific information about the kind of issue.
MixedContentResolutionStatus
MixedContentResourceType
SharedArrayBufferIssueType
TwaQualityEnforcementViolationType