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

offerToReceive: Rewrite to handle two options to createOffer #1686

Merged
merged 4 commits into from
Dec 7, 2017

Conversation

adam-be
Copy link
Member

@adam-be adam-be commented Dec 7, 2017

I think this is cleaner. Question is if we want to have a description of the individual options.

@adam-be adam-be requested a review from fluffy as a code owner December 7, 2017 08:47
@adam-be
Copy link
Member Author

adam-be commented Dec 7, 2017

Better looking diff (--patience): https://dpaste.de/heHB

@adam-be
Copy link
Member Author

adam-be commented Dec 7, 2017

@fippo, sorry that this breaks some of your PRs, but it should address the problem you brought up with two options at the same time.

webrtc.html Outdated
"#dom-rtcpeerconnection-createoffer">createOffer</a> steps:</p>
<ol>
<li>
<p>Let <var>options</var> be the methods second argument.</p>
Copy link
Contributor

Choose a reason for hiding this comment

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

first argument? (I am glad we're dealing with the legacy callbacks elsewhere)

Copy link
Member Author

Choose a reason for hiding this comment

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

Will fix!

@fippo
Copy link
Contributor

fippo commented Dec 7, 2017

no worries, I expected that i'll have to update my PRs.

This looks pretty good, I was afraid it would be more ugly!

@adam-be
Copy link
Member Author

adam-be commented Dec 7, 2017

I've added an intro text and a short description of the attributes. Can you take a look @fippo

Readable diff: https://dpaste.de/0jb8

@adam-be
Copy link
Member Author

adam-be commented Dec 7, 2017

@adam-be
Copy link
Member Author

adam-be commented Dec 7, 2017

Extended test to use two options: web-platform-tests/wpt#8450

Copy link
Contributor

@fluffy fluffy left a comment

Choose a reason for hiding this comment

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

OK

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.

None yet

4 participants