Closed Bug 1396848 Opened 7 years ago Closed 7 years ago

Fetch: Headers should sort and combine

Categories

(Core :: DOM: Core & HTML, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: annevk, Assigned: baku)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

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
Attached patch headers2.patchSplinter Review
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: 7 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.

Attachment

General

Created:
Updated:
Size: