Closed
Bug 1893257
Opened 1 years ago
Closed 1 years ago
Firefox-only failures in WPT fetch/http-cache/cache-mode.any.js
Categories
(Core :: DOM: Networking, defect, P2)
Core
DOM: Networking
Tracking
()
RESOLVED
FIXED
127 Branch
Tracking | Status | |
---|---|---|
firefox127 | --- | fixed |
People
(Reporter: twisniewski, Assigned: twisniewski)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
See https://wpt.fyi/results/fetch/http-cache?q=%2Fcache-mode
Fixing this essentially boils down to not setting the pragma and cache-control headers if they're not already set in nsHttpChannel.
We also fail the test Fetch sends Cache-Control: max-age=0 when cache mode is no-cache
unless the check for !LoadCacheEntryIsWriteOnly()
here is removed.
Updated•1 years ago
|
Assignee | ||
Comment 1•1 years ago
|
||
Updated•1 years ago
|
Assignee: nobody → twisniewski
Status: NEW → ASSIGNED
Pushed by twisniewski@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/42813f04d4f6
don't overwrite pragma or cache-control request headers per spec, and otherwise always set cache-control:max-age=0 for no-cache cache mode; r=valentin,necko-reviewers
Comment 3•1 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 years ago
status-firefox127:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•