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
Reported 2022-09-07 14:44:18 PDT
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
Radar WebKit Bug Importer
Comment 1 2022-09-07 14:44:44 PDT
Brent Fulgham
Comment 2 2022-10-07 14:21:50 PDT
I should have written "Reporting-Endpoints", not "Report-To".
Brent Fulgham
Comment 3 2022-10-10 17:10:57 PDT
Brent Fulgham
Comment 4 2022-10-12 14:13:18 PDT
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
Comment 5 2022-10-12 14:24:22 PDT
Wrong again! Those tests use 'deprecation' and 'document-policy-violation' reports, but don't exercise the test report feature.
Brent Fulgham
Comment 6 2022-10-17 15:32:26 PDT
EWS
Comment 7 2022-10-21 13:21:28 PDT
Committed 255845@main (8ae6f494b997): <https://commits.webkit.org/255845@main> Reviewed commits have been landed. Closing PR #5216 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.