Speculation-rules prefetch is still used for navigation after a `Clear-Site-Data: "prefetchCache"` response
Categories
(Core :: DOM: Networking, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: smayya, Assigned: acreskey)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [necko-triaged][fxpe], [wptsync upstream])
Attachments
(1 external file)
speculation-rules/prefetch/clear-prefetch-cache-after-clear-site-data-cache.https.html fails with the patches for bug 2070841:
clear-site-data prefetchCache headers should prevent it from being fetched: assert_equals: expected (undefined) undefined but got (string) "prefetch"
The sibling subtest using Clear-Site-Data: "cache" passes, so clearing the HTTP cache works. The "prefetchCache" directive doesn't remove the document's prefetch records, so the navigation is still activated from the prefetch. Per spec, "prefetchCache" should clear the prefetch records so they can't be used.
| Reporter | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
"cache" and "*" also clear them, per the prefetch spec.
Comment 3•19 days ago
|
||
| bugherder | ||
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/65061 for changes under testing/web-platform/tests
Updated•18 days ago
|
Updated•18 days ago
|
Upstream PR merged by moz-wptsync-bot
Updated•4 days ago
|
Description
•