Skip to content

Commit

Permalink
Minor grammar correction
Browse files Browse the repository at this point in the history
  • Loading branch information
soareschen committed Jun 9, 2017
1 parent 9f0f879 commit 0060db1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions webrtc.html
Expand Up @@ -3869,7 +3869,7 @@ <h2>Constructor</h2>
<li>Let <var>iceCandidate</var> be a newly created
<code>RTCIceCandidate</code> object.</li>
<li>Set the corresponding attributes in <var>iceCandidate</var>
with the dictionary member values of <var>candidateInitDict</var></li>
with the dictionary member values of <var>candidateInitDict</var>.</li>
<li>Let <var>candidate</var> be the <code><a>candidate</a></code>
dictionary member of <var>candidateInitDict</var>. If
<var>candidate</var> is not an empty string, run the following steps:
Expand All @@ -3880,16 +3880,16 @@ <h2>Constructor</h2>
defined in section 4.5 of [[!RFC6544]].</li>
<li>If parsing of <code>candidate-attribute</code> is successful,
set the corresponding attributes in <var>iceCandidate</var> to
the field values of the parse result.</li>
the field values of the parsed result.</li>
</ol></li>
<li>Return <var>iceCandidate</var></li>
<li>Return <var>iceCandidate</var>.</li>
</ol>
<div class="note">
The validation for members in <var>candidateInitDict</var>
is not done in the constructor for <code>RTCIceCandidate</code>.
Instead, validation is done when calling <code><a data-for=
"RTCPeerConnection">addIceCandidate()</a></code>. To maintain
backward compatibility, if the <var>candidate</var> member do not
backward compatibility, if the <var>candidate</var> member does not
match the grammar for <code>candidate-attribute</code>, the value
remain set in the <code>candidate</code> attribute with the other
derivative fields set to <code>null</code>
Expand Down

0 comments on commit 0060db1

Please sign in to comment.