Skip to content

Add ReportingObserver report type permissions-policy-violation#29500

Merged
ddbeck merged 1 commit into
mdn:mainfrom
hamishwillee:chrome120_reporting_observer_permissions
Apr 17, 2026
Merged

Add ReportingObserver report type permissions-policy-violation#29500
ddbeck merged 1 commit into
mdn:mainfrom
hamishwillee:chrome120_reporting_observer_permissions

Conversation

@hamishwillee

Copy link
Copy Markdown
Contributor

This adds the permissions-policy-violation report type to the ReportingObserver() constructor. I've verified it works on Chrome as an observer and a server endpoint in the latest versions.

This https://chromestatus.com/feature/5105435227455488 says it was added in Chrome 120. I have verified this by running the https://wpt.live/permissions-policy/reporting/midi-report-only.https.html test - which works in that version and later, but not before.

WPT dashboard indicates not support in FF and macOS (which matches my testing): https://wpt.fyi/results/permissions-policy/reporting?label=experimental&label=master&aligned

Related docs work can be tracked in: mdn/content#43783

@github-actions github-actions Bot added data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API size:m [PR only] 25-100 LoC changed labels Apr 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

@ddbeck ddbeck left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Hamish! I opened #29506 for the header that relates to this.

@ddbeck ddbeck merged commit 568a6c4 into mdn:main Apr 17, 2026
8 checks passed
@ddbeck ddbeck changed the title ReportingObserver report type permissions-policy-violation Add ReportingObserver report type permissions-policy-violation Apr 17, 2026
@mdn-bot mdn-bot mentioned this pull request Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API size:m [PR only] 25-100 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants