Bug 1731282 [wpt PR 30785] - Fix endpoint URL for a COEP navigation reporting test...
commit82362d41ab909c9ea36bb10d1d3c8e656582dab4
authorChris Dumez <cdumez@apple.com>
Sun, 3 Oct 2021 10:14:45 +0000 (3 10:14 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 4 Oct 2021 00:19:10 +0000 (4 00:19 +0000)
treed69d34542ebbfd3a9834ab3611ae73ed0b44645f
parentfe03795ecda1fd470667f550603d7f28040a64b1
Bug 1731282 [wpt PR 30785] - Fix endpoint URL for a COEP navigation reporting test so that it beco…, a=testonly

Automatic update from web-platform-tests
Fix endpoint URL for a COEP navigation reporting test so that it becomes runnable with WebKit test infrastructure (#30785)

The test was hardcoding `https://{{hosts[][www]}}:{{ports[https][0]}}/html/cross-origin-embedder-policy/resources/report.py`
for the endpoint URL. This resolved to `https://www.localhost:9443/html/cross-origin-embedder-policy/resources/report.py` but
the `https://www.localhost:9443` host is not supported by the WebKit layout test infrastructure (we only have
https://localhost:9443 & https://127.0.0.1:9443). To make the test runnable with the WebKit test infrastructure, I am updating
the headers file to use relative URLs for the endpoints.

I made a similar change for COOP tests in #30411.
--

wpt-commits: 9b40f68b16e28a872213d9019f22904079170bdb
wpt-pr: 30785
testing/web-platform/tests/html/cross-origin-embedder-policy/reporting-to-endpoint.https.html.headers [new file with mode: 0644]
testing/web-platform/tests/html/cross-origin-embedder-policy/reporting-to-endpoint.https.html.sub.headers [deleted file]