The entries of a report body in either format, or an empty list for anything else.
Legacy: {"csp-report": {"blocked-uri", "violated-directive", "document-uri", "script-sample"}}. Reporting API: [{"type": "csp-violation", "body": {"blockedURL", "effectiveDirective", "documentURL", "sample"}}].
{"csp-report": {"blocked-uri", "violated-directive", "document-uri", "script-sample"}}
[{"type": "csp-violation", "body": {"blockedURL", "effectiveDirective", "documentURL", "sample"}}]
The entries of a report body in either format, or an empty list for anything else.
Legacy:
{"csp-report": {"blocked-uri", "violated-directive", "document-uri", "script-sample"}}. Reporting API:[{"type": "csp-violation", "body": {"blockedURL", "effectiveDirective", "documentURL", "sample"}}].