[wpt-sync] Sync PR 43540 - 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 43540 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/43540
Details from upstream follow.
Adithya Srinivasan <adithyas@chromium.org> wrote:
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: I0295feefb6621c54778ae62334cf20d711f69145Reviewed-on: https://chromium-review.googlesource.com/5080758
WPT-Export-Revision: 27fe54f13a44e0419ab5ab08bf9b98f182a73687
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 6 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
ERROR: 2
Chrome
OK : 2
PASS : 1
FAIL : 1
Safari
ERROR: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /speculation-rules/prefetch/prefetch-uses-cache.sub.https.html?same-site [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /speculation-rules/prefetch/prefetch-uses-cache.sub.https.html?cross-site [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)
| Assignee | ||
Comment 3•2 years ago
|
||
CI Results
Ran 6 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
ERROR: 2
Chrome
OK : 2
PASS : 1
FAIL : 1
Safari
ERROR: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /speculation-rules/prefetch/prefetch-uses-cache.sub.https.html?same-site [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /speculation-rules/prefetch/prefetch-uses-cache.sub.https.html?cross-site [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)
| Assignee | ||
Comment 4•2 years ago
|
||
CI Results
Ran 6 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
ERROR: 2
Chrome
OK : 2
PASS : 1
FAIL : 1
Safari
ERROR: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /speculation-rules/prefetch/prefetch-uses-cache.sub.https.html?same-site [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /speculation-rules/prefetch/prefetch-uses-cache.sub.https.html?cross-site [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)
| Assignee | ||
Comment 5•2 years ago
|
||
CI Results
Ran 6 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
ERROR: 2
Chrome
OK : 2
PASS : 1
FAIL : 1
Safari
ERROR: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /speculation-rules/prefetch/prefetch-uses-cache.sub.https.html?same-site [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /speculation-rules/prefetch/prefetch-uses-cache.sub.https.html?cross-site [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)
| Assignee | ||
Comment 6•2 years ago
|
||
CI Results
Ran 6 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
ERROR: 2
Chrome
OK : 2
PASS : 1
FAIL : 1
Safari
ERROR: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /speculation-rules/prefetch/prefetch-uses-cache.sub.https.html?same-site [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /speculation-rules/prefetch/prefetch-uses-cache.sub.https.html?cross-site [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)
| Assignee | ||
Comment 7•2 years ago
|
||
CI Results
Ran 6 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
ERROR: 2
Chrome
OK : 2
PASS : 1
FAIL : 1
Safari
ERROR: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /speculation-rules/prefetch/prefetch-uses-cache.sub.https.html?same-site [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /speculation-rules/prefetch/prefetch-uses-cache.sub.https.html?cross-site [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)
| Assignee | ||
Comment 8•2 years ago
|
||
CI Results
Ran 6 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
ERROR: 2
Chrome
OK : 2
PASS : 1
FAIL : 1
Safari
ERROR: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /speculation-rules/prefetch/prefetch-uses-cache.sub.https.html?same-site [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /speculation-rules/prefetch/prefetch-uses-cache.sub.https.html?cross-site [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)
| Assignee | ||
Comment 9•2 years ago
|
||
Comment 10•2 years ago
|
||
Comment 11•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/ecd60fb76ad7
https://hg.mozilla.org/mozilla-central/rev/fd06b1fd50fd
Description
•