Bug 1639075 [wpt PR 23682] - Reorganize COEP + reporting tests, a=testonly
commitd8e621cc23706fdf54576826822a3b0c2a7a5eb3
authorYutaka Hirano <yhirano@chromium.org>
Tue, 26 May 2020 11:22:10 +0000 (26 11:22 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 27 May 2020 11:40:04 +0000 (27 11:40 +0000)
treeb4f265132b1b8320780f57f05d8d917803bed59a
parent5b3ff51b0d64c2e31e977049f035d6e6fbce4e18
Bug 1639075 [wpt PR 23682] - Reorganize COEP + reporting tests, a=testonly

Automatic update from web-platform-tests
Reorganize COEP + reporting tests

The COEP reporting feature has two observable effects. User agents send
reports to the network, and web developers can observe reports via
ReportingObserver. We need to have *some* tests for each way, but we
don't need to have all the test cases for both ways.

As the ReportingObserver way is faster, easier to debug and less flaky,
we would like to test more cases with ReportingObserver. This CL moves
many test cases from reporting.https.html to
reporting-navigation.https.html and
reporting-subresource-corp.https.html, and rename reporting.https.html
to reporting-to-endpoint.https.html. This CL also removes many
duplicated tests (see reporting-subresource-corp.https.html).

Bug: 1052764
Change-Id: I37a567d8cbb6aec79a8426f2f32630c70e4da112
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2208154
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Makoto Shimazu <shimazu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#770058}

--

wpt-commits: 9189c2043df0d424d0f9c1689136c45730b35e88
wpt-pr: 23682
testing/web-platform/tests/html/cross-origin-embedder-policy/reporting-navigation.https.html
testing/web-platform/tests/html/cross-origin-embedder-policy/reporting-subresource-corp.https.html
testing/web-platform/tests/html/cross-origin-embedder-policy/reporting-to-endpoint.https.html [new file with mode: 0644]
testing/web-platform/tests/html/cross-origin-embedder-policy/reporting-to-endpoint.https.html.sub.headers [moved from testing/web-platform/tests/html/cross-origin-embedder-policy/reporting.https.html.sub.headers with 100% similarity]
testing/web-platform/tests/html/cross-origin-embedder-policy/reporting.https.html [deleted file]