[wpt-sync] Sync PR 43577 - Revert "Prefetch: Allow use of HTTP cache for same-site prefetches"
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox122 fixed)
| Tracking | Status | |
|---|---|---|
| firefox122 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 43577 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/43577
Details from upstream follow.
Ben Pastene <bpastene@chromium.org> wrote:
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/overviewOriginal 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: 1506051, 1509944
Change-Id: I14de1c53991c1f3a40e7db57835c03aaec1a270d
No-Tree-Checks: true
No-Try: trueReviewed-on: https://chromium-review.googlesource.com/5106474
WPT-Export-Revision: 386ae3f6123304e46530cc5589d9d95111e3439d
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
| Assignee | ||
Comment 3•2 years ago
|
||
| Assignee | ||
Comment 4•2 years ago
|
||
Comment 6•2 years ago
|
||
| bugherder | ||
Description
•