Bug 1869041 [wpt PR 43577] - Revert "Prefetch: Allow use of HTTP cache for same-site...
commitefee66008c6b6286eda32fdea31ffc20856ef987
authorBen Pastene <bpastene@chromium.org>
Wed, 13 Dec 2023 08:31:11 +0000 (13 08:31 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Thu, 14 Dec 2023 09:32:12 +0000 (14 09:32 +0000)
treeb47777ac87a7993bad2d66c310161c50e180869f
parent3be5f31e44e35d44476dad236fb3382fc9566fb8
Bug 1869041 [wpt PR 43577] - Revert "Prefetch: Allow use of HTTP cache for same-site prefetches", a=testonly

Automatic update from web-platform-tests
Revert "Prefetch: Allow use of HTTP cache for same-site prefetches"

This reverts commit b54f90853104c8275286bf256fe1849236b5c459.

Reason for revert: prefetch-uses-cache.sub web_tests failures, eg:
https://ci.chromium.org/ui/p/chromium/builders/ci/Linux%20Tests/b8762255064072594513/overview

Original change's description:
> Prefetch: Allow use of HTTP cache for same-site prefetches
>
> Adds functionality behind a feature flag that's enabled-by-default. In
> addition to adding WPT and some browser test coverage, it also makes
> most resources in external/wpt/speculation-rules/prefetch/resources
> non-cacheable to prevent them from interfering with tests (in
> particular we rely on request headers being injected by the wpt
> server, which doesn't happen when a cached response is used).
>
> Bug: 1506051
> Change-Id: I0295feefb6621c54778ae62334cf20d711f69145
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5080758
> Commit-Queue: Adithya Srinivasan <adithyas@chromium.org>
> Reviewed-by: Jeremy Roman <jbroman@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1235075}

Bug: 15060511509944
Change-Id: I14de1c53991c1f3a40e7db57835c03aaec1a270d
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5106474
Commit-Queue: Ben Pastene <bpastene@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Owners-Override: Struan Shrimpton <sshrimp@google.com>
Cr-Commit-Position: refs/heads/main@{#1235186}

--

wpt-commits: 4e1c55a3e0742eb2a8d96209321f6a10404ab7a4
wpt-pr: 43577
testing/web-platform/tests/speculation-rules/prefetch/prefetch-uses-cache.sub.https.html [deleted file]
testing/web-platform/tests/speculation-rules/prefetch/resources/authenticate.py
testing/web-platform/tests/speculation-rules/prefetch/resources/cacheable-executor.sub.html [deleted file]
testing/web-platform/tests/speculation-rules/prefetch/resources/cacheable-executor.sub.html.headers [deleted file]
testing/web-platform/tests/speculation-rules/prefetch/resources/cookies.py
testing/web-platform/tests/speculation-rules/prefetch/resources/executor.sub.html.headers [deleted file]
testing/web-platform/tests/speculation-rules/prefetch/resources/prefetch.py
testing/web-platform/tests/speculation-rules/prefetch/resources/prefetch_nvs_hint.py