Skip to content
Open
Changes from 1 commit
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
37 changes: 36 additions & 1 deletion api/ReportingObserver.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
},
"types_property": {
"__compat": {
"description": "`types_property` property",
"description": "`types` property",
"tags": [
"web-features:reporting"
],
Expand Down Expand Up @@ -170,6 +170,41 @@
}
}
},
"crash": {
"__compat": {
"description": "`crash` report",
"spec_url": "https://wicg.github.io/crash-reporting/#crash-reports:~:text=Crash%20reports%20have%20the%20report%20type%20%22crash%22%2E",
"tags": [
"web-features:reporting"
],
"support": {
"chrome": {
"version_added": "145"
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.

This is a bit weird, as crash reports aren't observed by reporting observers, but I think you can still specify them as a valid report type in the constructor types list.

If this report is never observed in the only implementing browser, then we should probably mention this in the notes? However, it is also not really clear what support means then if there is no effect?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I've tried adding a note to explain this. Let me know what you think. This is a weird situation, but it is still useful to know that the report type is not observed.

},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"csp-violation": {
"__compat": {
"description": "`csp-violation` report",
Expand Down