mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Automatic update from web-platform-tests
Add wpt tests for Document-Reporting Endpoints header
- These tests describe the desired behaviour according to the spec
- This includes the following cases:
1) Sending reports to default endpoint
2) Setting Reporting-Endpoints header with path-absolute url
3) Sending reports to multiple named endpoints
4) Endpoint with the same name gets overridden
5) Document has both Report-To and Reporting-Endpoints header
6) Reports are not batched for same endpoint, same url in two frame
7) Reports are not sent after navigating from document with
Reporting-Endpoints header to same url without header
- Update uuid used in various Reporting-Endpoints header's reportID so
they're actually unique among tests.
Bug: 1062359
Change-Id: I42f268e8421407d3f9b745b7d762c4775f247500
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3060743
Commit-Queue: Rodney Ding <[email protected]>
Reviewed-by: Ian Clelland <[email protected]>
Cr-Commit-Position: refs/heads/main@{#924487}
--
wpt-commits: f5d9b675bc878e6b2eee7d54fe36a7b9237a8092
wpt-pr: 29913
3 lines
212 B
Plaintext
3 lines
212 B
Plaintext
Reporting-Endpoints: csp-endpoint="/reporting/resources/report.py?reportID=320db941-960a-4529-8c4a-24aeb6739309"
|
|
Content-Security-Policy: script-src 'self' 'unsafe-inline'; img-src 'none'; report-to csp-endpoint
|