Open Bug 2087619 Opened 1 month ago Updated 10 days ago

Clearing the cache does not discard speculation-rules prefetches

Categories

(Core :: DOM: Networking, defect, P2)

defect

Tracking

()

People

(Reporter: acreskey, Assigned: acreskey)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [necko-triaged][fxpe])

Attachments

(1 external file)

Follow-up to bug 2076691, from Manuel's review comment on ClearSiteData.cpp in D335353.

Prefetch records are discarded on the Clear-Site-Data header, but not when the cache is cleared through nsIClearDataService (CLEAR_ALL_CACHES).

Potentially, a PrefetchCacheCleaner could reuse the CLEAR_NETWORK_CACHE bit like CLEAR_BFCACHE does, calling WindowGlobalParent::ClearPrefetchCache through ChromeUtils.

Whiteboard: [necko-triaged]
Assignee: nobody → acreskey
Whiteboard: [necko-triaged] → [necko-triaged][fxpe]
Blocks: 2037144

Otherwise a prefetch made before the user clears their data can still serve a later navigation.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: