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

addTransceiver: check [[isClosed]] #1893

Merged
merged 1 commit into from
Jun 28, 2018
Merged

Conversation

fippo
Copy link
Contributor

@fippo fippo commented Jun 14, 2018

adds a step to check [[isClosed]] similar to what is done for addTrack

fixes #1891

adds a step to check [[isClosed]] similar to what is done for addTrack

fixes w3c#1891
@fippo
Copy link
Contributor Author

fippo commented Jun 14, 2018

hrm. @jan-ivar beat me in #1892

@jan-ivar
Copy link
Member

@fippo actually you beat me by 1 minute. :)

But it raises an interesting question, should we do input validation before state checks, and I think yes! So let's go with this one.

Copy link
Contributor

@henbos henbos left a comment

Choose a reason for hiding this comment

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

LGTM

@aboba aboba merged commit 485bc92 into w3c:master Jun 28, 2018
@fippo fippo deleted the addtransceiver-closed branch June 28, 2018 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

addTransceiver should throw on closed peer connection.
5 participants