Skip to content

Comments

Remove Headers.getAll() as irrelevant#12166

Merged
ddbeck merged 3 commits intomdn:mainfrom
ddbeck:remove-headers-getall
Aug 25, 2021
Merged

Remove Headers.getAll() as irrelevant#12166
ddbeck merged 3 commits intomdn:mainfrom
ddbeck:remove-headers-getall

Conversation

@ddbeck
Copy link
Contributor

@ddbeck ddbeck commented Aug 24, 2021

Summary

This PR:

  • Removes api.Headers.getAll as irrelevant
  • Scrubs mentions of getAll from notes on get
  • Improves consistency of get data

Test results and supporting details

With manual testing, I found that Edge never supported getAll, clearing it for removal as irrelevant (removed from all other browsers over two years ago). In the course of investigation, I also confirmed the historic behavior of get and updated the notes accordingly.

Finally, to support content removals on MDN, I scrubbed mentions of getAll from the notes for get.

Related issues

I was inspired to investigate this by #12157.

@ddbeck ddbeck added needs-release-note 📰 needs content update This PR needs a corresponding update to mdn/content to update the documentation labels Aug 24, 2021
@github-actions github-actions bot added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Aug 24, 2021
@ddbeck
Copy link
Contributor Author

ddbeck commented Aug 24, 2021

The diff here is a little hard to read. You might want to step through the commits to follow the changes more easily.

Copy link
Contributor

@lucacasonato lucacasonato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

ddbeck added a commit to ddbeck/mdn-content that referenced this pull request Aug 25, 2021
@ddbeck
Copy link
Contributor Author

ddbeck commented Aug 25, 2021

Thanks for the reviews. There's now a content PR for this (mdn/content#8284). Merging!

@ddbeck ddbeck removed the needs content update This PR needs a corresponding update to mdn/content to update the documentation label Aug 25, 2021
@ddbeck ddbeck merged commit 149a4d3 into mdn:main Aug 25, 2021
@ddbeck ddbeck deleted the remove-headers-getall branch August 25, 2021 11:37
teoli2003 pushed a commit to mdn/content that referenced this pull request Aug 25, 2021
ddbeck added a commit to ddbeck/browser-compat-data that referenced this pull request Aug 26, 2021
ddbeck added a commit that referenced this pull request Aug 26, 2021
* Bump version to v4.0.1

* Hoist known issues

* Add release note for #10672

* Add release note for #12167

* Add release note for #12074

* Add release note for #12075

* Add release note for #12089

* Add release note for #12166

* Add release date

* Add release stats
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants