mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Per Fetch step 12.2, a request whose initiator is "prefetch" sends the document Accept header regardless of destination; nsPrefetchService was sending Accept: */*. Fixes the "Document prefetch should send the exact Accept header as navigation" subtest in preload/prefetch-accept.html and preload/prefetch-document.html. Differential Revision: https://phabricator.services.mozilla.com/D305367