import { Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { Audits } = Protocol;
Audits domain allows investigation of page violations and possible improvements.
Interfaces
Information about a cookie that is affected by an inspector issue. | |
Information about the frame affected by an inspector issue. | |
Information about a request that is affected by an inspector issue. | |
Details for issues around "Attribution Reporting API" usage. Explainer: https://github.com/WICG/conversion-measurement-api | |
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. | |
This issue tracks client hints related issues. It's used to deprecate old features, encourage the use of new ones, and provide general guidance. | |
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. | |
Details for a CORS related issue, e.g. a warning or error related to CORS RFC1918 enforcement. | |
This issue tracks information needed to print a deprecation message. The formatting is inherited from the old console.log version, see more at: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/deprecation.cc TODO(crbug.com/1264960): Re-work format to add i18n support per: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/README.md | |
Depending on the concrete errorType, different properties are set. | |
An inspector issue reported from the back-end. | |
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. | |
Details for issues about documents in Quirks Mode or Limited Quirks Mode that affects page layouting. | |
Details for a issue arising from an SAB being instantiated in, or transferred to a context that is not cross-origin isolated. | |
Type Aliases
Enum indicating the reason a response has been blocked. These reasons are refinements of the net error BLOCKED_BY_RESPONSE. | |
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. | |
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. | |
A unique id for a DevTools inspector issue. Allows other entities (e.g. exceptions, CDP message, console messages, etc.) to reference an issue. | |