Fetch: Headers should sort and combine

RESOLVED FIXED in Firefox 57

Status

()

defect
P3
normal
RESOLVED FIXED
2 years ago
4 months ago

People

(Reporter: annevk, Assigned: baku)

Tracking

(Blocks 1 bug, {dev-doc-complete})

unspecified
mozilla57
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox57 fixed)

Details

Attachments

(1 attachment)

When you iterate over the Headers object values are not combined across duplicate header names and header names are not sorted lexicographically.

Tests: https://github.com/w3c/web-platform-tests/pull/7260.
Priority: -- → P3
Assignee: nobody → amarchesini
Attachment #8908614 - Flags: review?(kyle)
Attachment #8908614 - Flags: review?(kyle) → review+
https://hg.mozilla.org/mozilla-central/rev/0d5b3f16219c
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
This might need a mention on MDN.
Keywords: dev-doc-needed
I have documented this with a note on the main Headers page here:

https://developer.mozilla.org/en-US/docs/Web/API/Headers#Methods

And a note in the Fx57 rel notes:

https://developer.mozilla.org/en-US/Firefox/Releases/57#DOM

Does that sound Ok?
Good to me.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.