Uses of Class
org.htmlunit.html.csp.ContentSecurityPolicyViolation
Packages that use ContentSecurityPolicyViolation
Package
Description
Content Security Policy (CSP) support: the
ContentSecurityPolicy
of an HtmlPage (from the Content-Security-Policy headers and meta elements),
checks for scripts, styles, images, frames, connections and more against the policy,
and the reporting of violations to a ContentSecurityPolicyViolationListener.-
Uses of ContentSecurityPolicyViolation in org.htmlunit.html.csp
Methods in org.htmlunit.html.csp that return types with arguments of type ContentSecurityPolicyViolationModifier and TypeMethodDescriptionCollectingContentSecurityPolicyViolationListener.getViolations()Returns the collected violations.Methods in org.htmlunit.html.csp with parameters of type ContentSecurityPolicyViolationModifier and TypeMethodDescriptionvoidCollectingContentSecurityPolicyViolationListener.violation(Page page, ContentSecurityPolicyViolation violation) Informs about a violation of the Content-Security-Policy.voidContentSecurityPolicyViolationListener.violation(Page page, ContentSecurityPolicyViolation violation) Informs about a violation of the Content-Security-Policy.