Skip to content

Commit

Permalink
s/LastOffer/LastCreateOffer/ ditto answer.
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-ivar committed Mar 22, 2019
1 parent 589e451 commit ab6ef8a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions webrtc.html
Expand Up @@ -1069,11 +1069,11 @@ <h4>Constructor</h4>
to an empty list.</p>
</li>
<li>
<p>Let <var>connection</var> have an <dfn>[[\LastOffer]]</dfn>
<p>Let <var>connection</var> have an <dfn>[[\LastCreateOffer]]</dfn>
internal slot, initialized to <code>""</code>.</p>
</li>
<li>
<p>Let <var>connection</var> have an <dfn>[[\LastAnswer]]</dfn>
<p>Let <var>connection</var> have an <dfn>[[\LastCreateAnswer]]</dfn>
internal slot, initialized to <code>""</code>.</p>
</li>
<li>
Expand Down Expand Up @@ -1320,7 +1320,7 @@ <h4>Set the RTCSessionDescription</h4>
<p>If <var>description</var> is set as a local description,
if <code><var>description</var>.type</code> is
<code>"offer"</code> and <code><var>description</var>.sdp</code>
is not equal to <var>connection</var>'s <a>[[\LastOffer]]</a> slot,
is not equal to <var>connection</var>'s <a>[[\LastCreateOffer]]</a> slot,
then return a promise <a>rejected</a> with a newly
<a data-link-for="exception" data-lt="create">created</a>
<code>InvalidModificationError</code> and abort these steps.</p>
Expand All @@ -1330,7 +1330,7 @@ <h4>Set the RTCSessionDescription</h4>
if <code><var>description</var>.type</code> is
<code>"answer"</code> or <code>"pranswer"</code> and
<code><var>description</var>.sdp</code> is not equal
to <var>connection</var>'s <a>[[\LastAnswer]]</a> slot,
to <var>connection</var>'s <a>[[\LastCreateAnswer]]</a> slot,
then return a promise <a>rejected</a> with a newly
<a data-link-for="exception" data-lt="create">created</a>
<code>InvalidModificationError</code> and abort these steps.</p>
Expand Down Expand Up @@ -1433,8 +1433,8 @@ <h4>Set the RTCSessionDescription</h4>
Set both <var>connection</var>.<a>[[\PendingRemoteDescription]]</a>
and <var>connection</var>.<a>[[\PendingLocalDescription]]</a>
to <code>null</code>. Set both
<var>connection</var>.<a>[[\LastOffer]]</a> and
<var>connection</var>.<a>[[\LastAnswer]]</a> to
<var>connection</var>.<a>[[\LastCreateOffer]]</a> and
<var>connection</var>.<a>[[\LastCreateAnswer]]</a> to
<code>""</code>. Finally set <var>connection</var>'s
<a>signaling state</a> to <code>"stable"</code>.</p>
</li>
Expand Down Expand Up @@ -2712,7 +2712,7 @@ <h2>Methods</h2>
<code>"offer"</code> and its <code>sdp</code> member
initialized to <var>sdpString</var>.</p>
</li>
<li><p>Set the <a>[[\LastOffer]]</a> internal slot to
<li><p>Set the <a>[[\LastCreateOffer]]</a> internal slot to
<var>sdpString</var>.</p>
</li>
<li>
Expand Down Expand Up @@ -2937,7 +2937,7 @@ <h2>Methods</h2>
<code>"answer"</code> and its <code>sdp</code> member
initialized to <var>sdpString</var>.</p>
</li>
<li><p>Set the <a>[[\LastAnswer]]</a> internal slot to
<li><p>Set the <a>[[\LastCreateAnswer]]</a> internal slot to
<var>sdpString</var>.</p>
</li>
<li>
Expand Down Expand Up @@ -2976,12 +2976,12 @@ <h2>Methods</h2>
empty string and <code><var>description</var>.type</code>
is <code>"answer"</code> or <code>"pranswer"</code>,
set <code><var>description</var>.sdp</code> to the value of
<var>connection</var>'s <a>[[\LastAnswer]]</a> slot.</li>
<var>connection</var>'s <a>[[\LastCreateAnswer]]</a> slot.</li>
<li>If <code><var>description</var>.sdp</code> is the
empty string and <code><var>description</var>.type</code>
is <code>"offer"</code>, set <code><var>description</var>.sdp</code>
to the value of <var>connection</var>'s
<a>[[\LastOffer]]</a> slot.</li>
<a>[[\LastCreateOffer]]</a> slot.</li>
<li>Return the result of <a href="#set-description">setting
the RTCSessionDescription</a> indicated by
<code><var>description</var></code>.</li>
Expand Down

0 comments on commit ab6ef8a

Please sign in to comment.