Skip to content

Commit

Permalink
Merge pull request #2339 from jan-ivar/transforming
Browse files Browse the repository at this point in the history
Update links to promise-guide definitions that moved to webidl.
  • Loading branch information
henbos committed Oct 24, 2019
2 parents e9a0942 + 20b751f commit ad09a97
Showing 1 changed file with 16 additions and 20 deletions.
36 changes: 16 additions & 20 deletions webrtc.html
Original file line number Diff line number Diff line change
Expand Up @@ -3201,10 +3201,9 @@ <h2>Methods</h2>
was created, then let <var>p</var> be the result of
<a href="#dfn-create-an-offer">creating an offer</a>
with <var>connection</var>, and return the result of
<a href="https://w3ctag.github.io/promises-guide/#transforming-by">
transforming</a> <var>p</var> with a fulfillment
handler that returns the result of
<a href="#set-local-description">setting the local RTCSessionDescription</a>
<a data-cite="!WEBIDL-1#dfn-perform-steps-once-promise-is-settled">
reacting</a> to <var>p</var> with a fulfillment step that
<a href="#set-local-description">sets the local RTCSessionDescription</a>
indicated by its first argument.</p>
</li>
</ol>
Expand All @@ -3229,13 +3228,13 @@ <h2>Methods</h2>
was created, then let <var>p</var> be the result of
<a href="#dfn-create-an-answer">creating an answer</a>
with <var>connection</var>, and return the result of
<a href="https://w3ctag.github.io/promises-guide/#transforming-by">
transforming</a> <var>p</var> with a fulfillment
handler that runs the following steps:</p>
<a data-cite="!WEBIDL-1#dfn-perform-steps-once-promise-is-settled">
reacting</a> to <var>p</var> with the following
fulfillment steps:</p>
<ol>
<li>
<p>Let <var>answer</var> be the handler's first
argument.</p>
<p>Let <var>answer</var> be the first argument
to these fulfillment steps.</p>
</li>
<li>
<p>Return the result of <a
Expand Down Expand Up @@ -3303,24 +3302,21 @@ <h2>Methods</h2>
<li>
<p>Let <var>p</var> be the result of <a
href="#set-local-description">setting the local RTCSessionDescription</a>
to a new description with a <code><a
data-link-for="RTCSessionDescriptionInit">type</a></code>
of <code>"rollback"</code>.</p>
indicated by <code>{type: "rollback"}</code>.</p>
</li>
<li>
<p>Return the result of <a
href="https://w3ctag.github.io/promises-guide/#transforming-by">
transforming</a> <var>p</var> with a fulfillment handler
that returns the result of
<a href="#set-remote-description">setting the remote RTCSessionDescription</a>
to <var>description</var>, and abort these steps.</p>
<p>Return the result of
<a data-cite="!WEBIDL-1#dfn-perform-steps-once-promise-is-settled">
reacting</a> to <var>p</var> with a fulfillment step that
<a href="#set-remote-description">sets the remote RTCSessionDescription</a>
<var>description</var>, and abort these steps.</p>
</li>
</ol>
</li>
<li>
<p>Return the result of <a
href="#set-remote-description">setting the remote RTCSessionDescription</a>
to <var>description</var>.</p>
href="#set-remote-description">setting the remote RTCSessionDescription</a>
<var>description</var>.</p>
</li>
</ol>
</li>
Expand Down

0 comments on commit ad09a97

Please sign in to comment.