Bug 1690023 [wpt PR 27423] - Add new tests for credentials and isolation in reporting...
commit09b414b468e790be008f55c9382d2b14074f1d36
authorIan Clelland <iclelland@chromium.org>
Thu, 23 Sep 2021 10:24:46 +0000 (23 10:24 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 27 Sep 2021 09:24:29 +0000 (27 09:24 +0000)
tree9f08a1be753a35b8ead37e091be152dbeec03d27
parent41b1bd56895612cab5a27b8d762dd59aca789993
Bug 1690023 [wpt PR 27423] - Add new tests for credentials and isolation in reporting., a=testonly

Automatic update from web-platform-tests
Add new tests for credentials and isolation in reporting.

This adds WPT to ensure that credentials are not sent to cross-origin
reporting endpoints, that they *are* sent to same-origin reporting
endpoints (currently failing; tracked as crbug.com/1163645), and that
reports which come from documents with different origins are not sent
in the same bundle, even when configured to deliver reports to the same
endpoint.

Change-Id: Icb36647d02ad33e8a2f10901782ad9b92cd0f191
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2657296
Commit-Queue: Ian Clelland <iclelland@chromium.org>
Reviewed-by: Rodney Ding <rodneyding@google.com>
Cr-Commit-Position: refs/heads/main@{#920222}

--

wpt-commits: 824f5aadae74478bc2a3ad97b9c407fd2158508a
wpt-pr: 27423
testing/web-platform/tests/reporting/cross-origin-report-no-credentials.https.sub.html [new file with mode: 0644]
testing/web-platform/tests/reporting/cross-origin-report-no-credentials.https.sub.html.sub.headers [new file with mode: 0644]
testing/web-platform/tests/reporting/cross-origin-reports-isolated.https.sub.html [new file with mode: 0644]
testing/web-platform/tests/reporting/cross-origin-reports-isolated.https.sub.html.sub.headers [new file with mode: 0644]
testing/web-platform/tests/reporting/resources/csp-error.https.sub.html [new file with mode: 0644]
testing/web-platform/tests/reporting/resources/csp-error.https.sub.html.sub.headers [new file with mode: 0644]
testing/web-platform/tests/reporting/resources/report-helper.js
testing/web-platform/tests/reporting/same-origin-report-credentials.https.sub.html [new file with mode: 0644]
testing/web-platform/tests/reporting/same-origin-report-credentials.https.sub.html.sub.headers [new file with mode: 0644]