Module org.htmlunit
Package org.htmlunit.html.csp
package org.htmlunit.html.csp
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.-
ClassDescriptionA
ContentSecurityPolicyViolationListenerthat collects all violations.INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
The Content-Security-Policy of a page.The details of a violation of the Content-Security-Policy of a page.A listener for violations of the Content-Security-Policy of a page.