Skip to main content
Deno 2 is finally here 🎉️
Learn more
interface Protocol.Audits.ContentSecurityPolicyIssueDetails
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { ContentSecurityPolicyIssueDetails } = Protocol.Audits;

Properties

optional
blockedURL: string

The url not included in allowed sources.

violatedDirective: string

Specific directive that is violated, causing the CSP issue.

isReportOnly: boolean
contentSecurityPolicyViolationType: ContentSecurityPolicyViolationType
optional
frameAncestor: AffectedFrame
optional
sourceCodeLocation: SourceCodeLocation
optional
violatingNodeId: DOM.BackendNodeId