Module audits

Module audits 

Source
Available on crate features experimental and Audits and Network only.
Expand description

Audits domain allows investigation of page violations and possible improvements.

Structs§

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.
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.
BlockedByResponseIssueDetailsBuilder
CheckContrastCommand
Runs the contrast check for the target page. Found issues are reported using Audits.issueAdded event.
CheckContrastReturn
Runs the contrast check for the target page. Found issues are reported using Audits.issueAdded event.
ContentSecurityPolicyIssueDetails
ContentSecurityPolicyIssueDetailsBuilder
CorsIssueDetails
Details for a CORS related issue, e.g. a warning or error related to CORS RFC1918 enforcement.
CorsIssueDetailsBuilder
DisableCommand
Disables issues domain, prevents further issues from being reported to the client.
DisableReturn
Disables issues domain, prevents further issues from being reported to the client.
EnableCommand
Enables issues domain, sends the issues collected so far to the client by means of the issueAdded event.
EnableReturn
Enables issues domain, sends the issues collected so far to the client by means of the issueAdded event.
GetEncodedResponseCommand
Returns the response body and size if it were re-encoded with the specified settings. Only applies to images.
GetEncodedResponseCommandBuilder
GetEncodedResponseReturn
Returns the response body and size if it were re-encoded with the specified settings. Only applies to images.
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.
InspectorIssueDetailsBuilder
IssueAddedEvent
LowTextContrastIssueDetails
LowTextContrastIssueDetailsBuilder
MixedContentIssueDetails
MixedContentIssueDetailsBuilder
SameSiteCookieIssueDetails
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.
SameSiteCookieIssueDetailsBuilder
SharedArrayBufferIssueDetails
Details for a issue arising from an SAB being instantiated in, or transfered to a context that is not cross-origin isolated.
SourceCodeLocation
SourceCodeLocationBuilder
TrustedWebActivityIssueDetails
TrustedWebActivityIssueDetailsBuilder

Enums§

BlockedByResponseReason
ContentSecurityPolicyViolationType
GetEncodedResponseCommandEncoding
HeavyAdReason
HeavyAdResolutionStatus
InspectorIssueCode
MixedContentResolutionStatus
MixedContentResourceType
SameSiteCookieExclusionReason
SameSiteCookieOperation
SameSiteCookieWarningReason
SharedArrayBufferIssueType
TwaQualityEnforcementViolationType