Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add keys to reporting API feature #2601

Merged
merged 4 commits into from
Feb 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions features/csp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,6 @@ compat_features:
# - http.headers.Content-Security-Policy.block-all-mixed-content (deprecated in BCD)
# - http.headers.Content-Security-Policy.prefetch-src (deprecated in BCD)
# - http.headers.Content-Security-Policy.report-uri (deprecated in BCD)
- api.CSPViolationReportBody
- api.CSPViolationReportBody.blockedURL
- api.CSPViolationReportBody.columnNumber
- api.CSPViolationReportBody.disposition
- api.CSPViolationReportBody.documentURL
- api.CSPViolationReportBody.effectiveDirective
- api.CSPViolationReportBody.lineNumber
- api.CSPViolationReportBody.originalPolicy
- api.CSPViolationReportBody.referrer
- api.CSPViolationReportBody.sample
- api.CSPViolationReportBody.sourceFile
- api.CSPViolationReportBody.statusCode
- api.CSPViolationReportBody.toJSON
- api.Document.securitypolicyviolation_event
- api.Element.securitypolicyviolation_event
- api.HTMLElement.nonce
Expand Down
25 changes: 0 additions & 25 deletions features/csp.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -383,28 +383,3 @@ compat_features:
# edge: "79"
- api.HTMLIFrameElement.csp
- html.elements.iframe.csp

# baseline: false
# support:
# chrome: "74"
# chrome_android: "74"
# edge: "79"
- api.CSPViolationReportBody
- api.CSPViolationReportBody.blockedURL
- api.CSPViolationReportBody.columnNumber
- api.CSPViolationReportBody.disposition
- api.CSPViolationReportBody.documentURL
- api.CSPViolationReportBody.effectiveDirective
- api.CSPViolationReportBody.lineNumber
- api.CSPViolationReportBody.originalPolicy
- api.CSPViolationReportBody.referrer
- api.CSPViolationReportBody.sample
- api.CSPViolationReportBody.sourceFile
- api.CSPViolationReportBody.statusCode

# baseline: false
# support:
# chrome: "80"
# chrome_android: "80"
# edge: "80"
- api.CSPViolationReportBody.toJSON
36 changes: 34 additions & 2 deletions features/reporting.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,39 @@
name: Reporting API
description: The Reporting API makes consistent reports about Content Security Policy violations, Permissions-Policy violations, deprecated feature usage, crashes, and other web platform features available to your server endpoints.
spec: https://w3c.github.io/reporting/
description: The `Reporting-Endpoints` HTTP header and `ReportingObsever()` API send reports of Content Security Policy (CSP) violations, Permissions-Policy violations, deprecated feature usage, browser interventions, and crashes to a nominated URL or callback function.
spec:
- https://w3c.github.io/reporting/
- https://wicg.github.io/intervention-reporting/
- https://wicg.github.io/deprecation-reporting/
- https://w3c.github.io/webappsec-csp/#reporting
compat_features:
- api.CSPViolationReportBody
- api.CSPViolationReportBody.blockedURL
- api.CSPViolationReportBody.columnNumber
- api.CSPViolationReportBody.disposition
- api.CSPViolationReportBody.documentURL
- api.CSPViolationReportBody.effectiveDirective
- api.CSPViolationReportBody.lineNumber
- api.CSPViolationReportBody.originalPolicy
- api.CSPViolationReportBody.referrer
- api.CSPViolationReportBody.sample
- api.CSPViolationReportBody.sourceFile
- api.CSPViolationReportBody.statusCode
- api.CSPViolationReportBody.toJSON
- api.DeprecationReportBody
- api.DeprecationReportBody.anticipatedRemoval
- api.DeprecationReportBody.columnNumber
- api.DeprecationReportBody.id
- api.DeprecationReportBody.lineNumber
- api.DeprecationReportBody.message
- api.DeprecationReportBody.sourceFile
- api.DeprecationReportBody.toJSON
- api.InterventionReportBody
- api.InterventionReportBody.columnNumber
- api.InterventionReportBody.id
- api.InterventionReportBody.lineNumber
- api.InterventionReportBody.message
- api.InterventionReportBody.sourceFile
- api.InterventionReportBody.toJSON
- api.Report
- api.Report.body
- api.Report.toJSON
Expand Down
46 changes: 46 additions & 0 deletions features/reporting.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,52 @@ compat_features:
- api.ReportingObserver.observe
- api.ReportingObserver.takeRecords

# baseline: false
# support:
# chrome: "69"
# chrome_android: "69"
# edge: "79"
- api.DeprecationReportBody
- api.DeprecationReportBody.anticipatedRemoval
- api.DeprecationReportBody.columnNumber
- api.DeprecationReportBody.id
- api.DeprecationReportBody.lineNumber
- api.DeprecationReportBody.message
- api.DeprecationReportBody.sourceFile
- api.DeprecationReportBody.toJSON
- api.InterventionReportBody
- api.InterventionReportBody.columnNumber
- api.InterventionReportBody.id
- api.InterventionReportBody.lineNumber
- api.InterventionReportBody.message
- api.InterventionReportBody.sourceFile
- api.InterventionReportBody.toJSON

# baseline: false
# support:
# chrome: "74"
# chrome_android: "74"
# edge: "79"
- api.CSPViolationReportBody
- api.CSPViolationReportBody.blockedURL
- api.CSPViolationReportBody.columnNumber
- api.CSPViolationReportBody.disposition
- api.CSPViolationReportBody.documentURL
- api.CSPViolationReportBody.effectiveDirective
- api.CSPViolationReportBody.lineNumber
- api.CSPViolationReportBody.originalPolicy
- api.CSPViolationReportBody.referrer
- api.CSPViolationReportBody.sample
- api.CSPViolationReportBody.sourceFile
- api.CSPViolationReportBody.statusCode

# baseline: false
# support:
# chrome: "80"
# chrome_android: "80"
# edge: "80"
- api.CSPViolationReportBody.toJSON

# baseline: false
# support:
# chrome: "84"
Expand Down