Ship Reporting API
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
People
(Reporter: sefeng211, Assigned: sfarre)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
| Assignee | ||
Updated•5 months ago
|
Comment 1•3 months ago
|
||
Remove bug 1909705 from the blocking dependency after Simon's investigation.
Updated•3 months ago
|
| Assignee | ||
Comment 2•3 months ago
|
||
Flip the prefererences involved for Reporting API to true,
enabling the feature by default.
Enable the prefererences
Updated•3 months ago
|
Comment 5•3 months ago
|
||
Backed out for causing mochitest plain failures on test_serviceworker_interfaces
| Assignee | ||
Comment 6•3 months ago
|
||
test_serviceworker_interfaces.js needs the same as was added to test_interfaces.js
| Assignee | ||
Comment 7•3 months ago
•
|
||
Try run: https://treeherder.mozilla.org/jobs?repo=try&landoCommitID=175771
What's exposed and not exposed is a bit of a mess, and the choices made in the patch is for webcompat reasons, to behave as close as possible (at the moment) with what's already in the wild.
https://docs.google.com/spreadsheets/d/1FzI56hgqGQwnR-F-yHSU6vTBUPfce8w7SiFYJQIE2Z4/edit?gid=0#gid=0 (invite needed) shows the different webidl configurations
Comment 8•3 months ago
|
||
Simon, this looks like a feature activation. Is a release note needed for 149? Thanks
| Assignee | ||
Comment 9•3 months ago
|
||
(In reply to Pascal Chevrel:pascalc from comment #8)
Simon, this looks like a feature activation. Is a release note needed for 149? Thanks
Yes, it will be needed. Could you be so kind to remind me what you need for me?
Comment 10•3 months ago
|
||
(In reply to Simon Farre [:sfarre] from comment #9)
(In reply to Pascal Chevrel:pascalc from comment #8)
Simon, this looks like a feature activation. Is a release note needed for 149? Thanks
Yes, it will be needed. Could you be so kind to remind me what you need for me?
You can follow the steps documented at https://wiki.mozilla.org/Release_Management/Release_Notes_Nomination#How_to_nominate_a_bug_for_release_notes_addition?
| Assignee | ||
Comment 11•2 months ago
•
|
||
[Why is this notable]: Enables Reporting API by default.
[Affects Firefox for Android]: Support is intended for all platforms.
[Suggested wording]: The Reporting API provides a generic reporting mechanism for web applications to use to make reports available based on various platform features (for example Content Security Policy, Permissions-Policy, or feature deprecation reports) in a consistent manner. With 149 it gets enabled by default.
[Links]: Reporting API and how it is used is documented at https://developer.mozilla.org/en-US/docs/Web/API/Reporting_API
Comment 12•2 months ago
|
||
Comment 13•2 months ago
|
||
| bugherder | ||
Updated•2 months ago
|
Comment 14•2 months ago
|
||
Is there a release note wording suggestion? I have no idea what this API is used for and this bug comment #0 is empty, no information either on the meta bug.
| Assignee | ||
Comment 15•2 months ago
•
|
||
(In reply to Pascal Chevrel:pascalc from comment #14)
Is there a release note wording suggestion? I have no idea what this API is used for and this bug comment #0 is empty, no information either on the meta bug.
I can provide one, could you give me an example of other release note wordings, so that I could cargo cult the concept?
The MDN link provides:
"The Reporting API provides a generic reporting mechanism for web applications to use to make reports available based on various platform features (for example Content Security Policy, Permissions-Policy, or feature deprecation reports) in a consistent manner." - though I'm not sure if that's what you're looking for?
I followed the link and filled out a minimal example in comment 11, maybe there's more you would need?
| Assignee | ||
Comment 16•2 months ago
|
||
(In reply to Pascal Chevrel:pascalc from comment #14)
Is there a release note wording suggestion? I have no idea what this API is used for and this bug comment #0 is empty, no information either on the meta bug.
Updated the previous comment 11 with the suggested wording! Thanks for the reminder.
Comment 17•2 months ago
|
||
Note added to 149 nightly and beta notes with this wording:
The new Reporting API provides a generic reporting mechanism for web applications to use to make reports available based on various platform features (for example Content Security Policy, Permissions-Policy, or feature deprecation reports) in a consistent manner.
I am keeping the relnote-firefox? flag set until we include this note in our final 149 release notes, thanks.
Updated•1 month ago
|
Comment 18•1 month ago
•
|
||
FF149 MDN work for this can be tracked in https://github.com/mdn/content/issues/43221
FYI @pascal note that the release note description is overly general in that it describes the purpose of the reporting API, but not the features of the API that Firefox actually implements. In FF149 this provides support for reporting CSP and Integrity-Policy violations (in scripts but not styles) but not permission policy or deprecation policy violations. For MDN note I did https://github.com/mdn/content/pull/43523
Note though, that MDN pretends that browser vendors obey the spec and return dictionaries, rather than Reports with a body property that is derived from a ReportBody interface. That means you might not want to mention the report types as I do, and instead just mention their type string:
This allows report objects of type
"csp-violation"and"integrity-violation"to be reported in violating pages using a {{domxref("ReportingObserver")}}.
Note, tagging you with request info just so you see this.
Updated•1 month ago
|
Comment 19•1 month ago
|
||
I think it is OK to have a generic note in our release notes for end users as it links to MDN where details of our implementation are explained and we also link to the developper release notes for 149.
Description
•