Closed Bug 1869041 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 43577 - Revert "Prefetch: Allow use of HTTP cache for same-site prefetches"

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox122 fixed)

RESOLVED FIXED
122 Branch
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/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: 1506051, 1509944
Change-Id: I14de1c53991c1f3a40e7db57835c03aaec1a270d
No-Tree-Checks: true
No-Try: true

Reviewed-on: https://chromium-review.googlesource.com/5106474
WPT-Export-Revision: 386ae3f6123304e46530cc5589d9d95111e3439d

PR 43577 applied with additional changes from upstream: ea980464c32f84fcdfc1d13d3f04eef19cf298f2
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0140af25314f [wpt PR 43577] - Revert "Prefetch: Allow use of HTTP cache for same-site prefetches", a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in before you can comment on or make changes to this bug.