Add crash-reporting reporting endpoint name#29399
Conversation
|
Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs). |
There was a problem hiding this comment.
While we're here, should we set Opera to mirror?
(Unfortunately, GitHub's suggestion feature seems to be broken right now, so I cannot suggest the change here.)
|
@ddbeck The server reports should mostly mirror "types_property" in https://github.com/mdn/browser-compat-data/blob/main/api/ReportingObserver.json - where this particular case does not because you can't observe a report for a page that has crashed. FMI, what is the intent here - to record the reports separately in both places, or only have the server-only endpoints here? |
|
@hamishwillee My intent here is to capture some of the predefined endpoint names that I know to exist. Right now, I believe there are only two. If I understand correctly, you can set arbitrary endpoint names, which some reporting uses via their own headers (e.g., for use with CSP's Then there are names predefined by specification: You can also set an endpoint name for each permission policy feature. If I understand the spec correctly, this is a sort of implicit thing in, where it'll look for a reporting endpoint named for each permissions policy feature. I am not planning to add keys for those, since it should just reproduce the list of permissions policy features nested under |
The TL;DR. Thanks @ddbeck - that's great. Short version is I didn't know about This is what I do know:
Yes. I have tried to capture it here: https://developer.mozilla.org/en-US/docs/Web/API/Reporting_API#related_http_headers CSP has a
Crash uses For cases where there is no associated HTTP header
Don't know sorry.
As above, this was news to me, but I read the spec the same way. Will test and update the docs. |
Summary
This adds the
crash-reportingendpoint name to theReporting-Endpointsheader.Test results and supporting details
I'm trying to add more detail to BCD so I can generate a status in web-features for crash reporting. This came out of that (incomplete) effort.
Chrome shipped
crash-reportingin 139 (Aug 2025):While I was trying to piece together the history of crash reporting, I found that Firefox shipped
Reporting-Endpointsearlier than recorded, in Firefox 130: https://bugzilla.mozilla.org/show_bug.cgi?id=1860588.Related issues