Fetch: Headers should sort and combine

RESOLVED FIXED in Firefox 57

Status

()

defect
P3
normal
RESOLVED FIXED
2 years ago
a month ago

People

(Reporter: annevk, Assigned: baku)

Tracking

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

unspecified
mozilla57
Points:
---

Firefox Tracking Flags

(firefox57 fixed)

Details

Attachments

(1 attachment)

(Reporter)

Description

2 years ago
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)

Comment 1

2 years ago
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
Last Resolved: 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?
(Assignee)

Comment 5

2 years ago
Good to me.
Component: DOM → DOM: Core & HTML
Product: Core → Core
You need to log in before you can comment on or make changes to this bug.