COEP violation reportsLimited availability
COEP violation reporting sends a report to a URL nominated by the Reporting-Endpoints header or the ReportingObserver API when a page violates its Cross-Origin-Embedder-Policy policy.
Not yet supported in all major browsers — check the table and provide a fallback.
Browser support
DesktopChrome
1–95Not supported
96+Supportedsince Nov 15, 2021
Current: 155Edge
12–95Not supported
96+Supportedsince Nov 19, 2021
Current: 154Firefox
✕Not supportedup to 157
Current: 157Safari
1–16.3Not supported
16.4+Supportedsince Mar 27, 2023
Current: 27MobileChrome Android
18–95Not supported
96+Supportedsince Nov 15, 2021
Current: 155Firefox Android
✕Not supportedup to 157
Current: 157Safari iOS
1–16.3Not supported
16.4+Supportedsince Mar 27, 2023
Current: 27How to use
Not supported in Firefox, Firefox Android. Use feature detection below and provide a fallback (or a polyfill) for those browsers.
Example
Full syntax and examples are on MDN — see the links below.
Feature detection
JS · check before using
if ("ReportingObserver" in globalThis && "ReportingObserver" in ReportingObserver.prototype) {
// ReportingObserver.ReportingObserver is available
}Specification
Sub-features
Support for each part of the feature (2). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| ReportingObserver.ReportingObserver.options_parameter.types_property.coep | 69 | 79 | ✕ | 16.4 | 69 | ✕ | 16.4 |
| http.headers.Cross-Origin-Embedder-Policy.report-to_parameter | 96 | 96 | ✕ | 16.4 | 96 | ✕ | 16.4 |