Skip to content

Commit fa4b311

Browse files
authored
Clarifies inputs to algorithms. (#378)
1 parent b54139e commit fa4b311

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

index.html

+19-16
Original file line numberDiff line numberDiff line change
@@ -1116,9 +1116,9 @@ <h4>
11161116
</li>
11171117
<li>If there is already an unsettled <a>Promise</a> from a previous
11181118
call to <code>start</code> on any <code>PresentationRequest</code>
1119-
in the same <a>controlling browsing context</a>, return a
1120-
new <a>Promise</a> rejected with an <a>OperationError</a> exception
1121-
and abort all remaining steps.
1119+
in the same <a>controlling browsing context</a>, return a new
1120+
<a>Promise</a> rejected with an <a>OperationError</a> exception and
1121+
abort all remaining steps.
11221122
</li>
11231123
<li>Let <var>P</var> be a new <a>Promise</a>.
11241124
</li>
@@ -1258,14 +1258,14 @@ <h4>
12581258
<dd>
12591259
<var>presentationRequest</var>, the
12601260
<code>PresentationRequest</code> that is used to start the
1261-
presentation connection.
1261+
presentation connection
12621262
</dd>
12631263
<dd>
1264-
<var>D</var>, the selected <a>presentation display</a>.
1264+
<var>D</var>, the selected <a>presentation display</a>
12651265
</dd>
12661266
<dd>
12671267
<var>P</var>, an optional <a>Promise</a> that will be resolved
1268-
with a new <a>presentation connection</a>.
1268+
with a new <a>presentation connection</a>
12691269
</dd>
12701270
</dl>
12711271
<ol>
@@ -1349,7 +1349,7 @@ <h4>
13491349
<dd>
13501350
<var>presentationRequest</var>, the <a>PresentationRequest</a>
13511351
object that <code><a for=
1352-
"PresentationRequest">reconnect</a>()</code> was called on.
1352+
"PresentationRequest">reconnect</a>()</code> was called on
13531353
</dd>
13541354
<dd>
13551355
<var>presentationId</var>, a valid <a>presentation identifier</a>
@@ -1653,8 +1653,8 @@ <h4>
16531653
</dt>
16541654
<dd>
16551655
<var>presentationRequest</var>, the
1656-
<code>PresentationRequest</code> that
1657-
<code>getAvailability()</code> was called on
1656+
<code>PresentationRequest</code> object that received the call to
1657+
<code>getAvailability</code>
16581658
</dd>
16591659
<dt>
16601660
Output
@@ -2056,12 +2056,15 @@ <h4>
20562056
<dd>
20572057
<var>presentationConnection</var>, the
20582058
<code>PresentationConnection</code> object that is to be
2059-
connected. The <a>presentation connection state</a> of
2060-
<var>presentationConnection</var> must be <a for=
2061-
"PresentationConnectionState">connecting</a>.
2059+
connected
20622060
</dd>
20632061
</dl>
20642062
<ol>
2063+
<li>If the <a>presentation connection state</a> of
2064+
<var>presentationConnection</var> is not <a for=
2065+
"PresentationConnectionState">connecting</a>, then abort all
2066+
remaining steps.
2067+
</li>
20652068
<li>Request connection of <var>presentationConnection</var> to the
20662069
<a>receiving browsing context</a>. The <a>presentation
20672070
identifier</a> of <var>presentationConnection</var> MUST be sent
@@ -2345,7 +2348,7 @@ <h4>
23452348
</dd>
23462349
<dd>
23472350
<var>closeMessage</var>, a human-readable message with details of
2348-
why the connection was closed.
2351+
why the connection was closed
23492352
</dd>
23502353
</dl>
23512354
<ol>
@@ -2823,17 +2826,17 @@ <h4>
28232826
<dd>
28242827
<var>I</var>, the <a>presentation identifier</a> passed by the
28252828
<a>controlling browsing context</a> with the incoming connection
2826-
request.
2829+
request
28272830
</dd>
28282831
<dd>
28292832
<var>presentationId</var>, the <a>presentation identifier</a>
28302833
used to <a data-lt="create a receiving browsing context">create
2831-
the receiving browsing context</a>.
2834+
the receiving browsing context</a>
28322835
</dd>
28332836
<dd>
28342837
<var>presentationUrl</var>, the <a>presentation request URL</a>
28352838
used to <a data-lt="create a receiving browsing context">create
2836-
the receiving browsing context</a>.
2839+
the receiving browsing context</a>
28372840
</dd>
28382841
</dl>
28392842
<ol>

0 commit comments

Comments
 (0)