Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop now-nonexistent Streams API constructors #6314

Merged
merged 1 commit into from
Jun 19, 2020

Conversation

sideshowbarker
Copy link
Member

@sideshowbarker sideshowbarker commented Jun 18, 2020

The constructors below are not in the current Streams spec.

  • ReadableByteStreamController()
  • ReadableStreamBYOBRequest()
  • ReadableStreamDefaultController()
  • WritableStreamDefaultController()

See whatwg/streams#1043 for confirmation from one of the spec editors that the constructors should be de-documented.

All of the corresponding MDN articles have been deleted.

The BCD data showed that none of them had ever been implemented in any browser engines — with the exception of ReadableStreamDefaultController(), which the data indicated as being implemented in Firefox. But I think that may have been incorrect — because I can’t find any evidence that constructor was in fact ever actually implemented in Firefox.

The constructors below are not in the current Streams spec.

* ReadableByteStreamController()
* ReadableStreamBYOBRequest()
* ReadableStreamDefaultController()
* WritableStreamDefaultController()

See whatwg/streams#1043 for confirmation from
one of the spec editors that the constructors should be de-documented.
@sideshowbarker sideshowbarker force-pushed the sideshowbarker/streams-api-constructors-remove branch from ef7c2f8 to c760196 Compare June 18, 2020 23:04
@queengooborg queengooborg added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Jun 19, 2020
Copy link
Member

@Elchi3 Elchi3 left a comment

Choose a reason for hiding this comment

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

Thanks! 👍

@Elchi3 Elchi3 merged commit e20a8ee into master Jun 19, 2020
@Elchi3 Elchi3 deleted the sideshowbarker/streams-api-constructors-remove branch June 19, 2020 13:36
@ddbeck
Copy link
Collaborator

ddbeck commented Jun 24, 2020

I noticed this needed to be labeled for release notes, but then realized that it landed in v1.0.27, so I updated the release notes for that too.

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.

4 participants