Bug 244907
| Summary: | [Reporting API] Test reports should go "Reporting-Endpoints" Endpoints | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> |
| Component: | WebCore Misc. | Assignee: | Brent Fulgham <bfulgham> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://github.com/web-platform-tests/wpt/pull/36601 | ||
| Bug Depends on: | |||
| Bug Blocks: | 189365 | ||
Brent Fulgham
Test reports should be sent to any endpoints provided in a "Report-To" header, but currently are not. There also don't appear to be WPT that check this behavior.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/99666423>
Brent Fulgham
I should have written "Reporting-Endpoints", not "Report-To".
Brent Fulgham
Pull request: https://github.com/WebKit/WebKit/pull/5216
Brent Fulgham
Actually, I'm wrong! There are existing tests for this behavior:
document-reporting-bypass-report-to.https.sub.html
document-reporting-named-endpoints.https.sub.html
document-reporting-override-endpoint.https.sub.html
Brent Fulgham
Wrong again! Those tests use 'deprecation' and 'document-policy-violation' reports, but don't exercise the test report feature.
Brent Fulgham
Pull request: https://github.com/Webkit/WebKit/pull/5216
EWS
Committed 255845@main (8ae6f494b997): <https://commits.webkit.org/255845@main>
Reviewed commits have been landed. Closing PR #5216 and removing active labels.