Implement the stubs from Bug 243908 so that we can generate Reporting API reports for Content Security Policy rules. This patch does the following: 1. Adds support for the "Reporting-Endpoints" header. 2. Exposes a Reporting object on Document and WorkerGlobalScope that can handle reports. 3. Implements a CSSViolationReportBody class (and JS binding) 4. Update the ContentSecurityPolicy implementation to generate a CSSViolationReportBody when the CSP directives include a report-to declaration. 5. Revises the CSP implementation to construct the JSON report body to match the new specification.
<rdar://problem/98900892>
Pull request: https://github.com/WebKit/WebKit/pull/3613
Committed 253966@main (42f5a93823a7): <https://commits.webkit.org/253966@main> Reviewed commits have been landed. Closing PR #3613 and removing active labels.
Thanks
(In reply to felipe from comment #6) > Thanks There’s still much to do, but we’re getting there!