Skip to content

Commit 7aa6d8b

Browse files
committed
Always return a new Promise from getAvailability().
1 parent 74d1a41 commit 7aa6d8b

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

index.html

+4-8
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,9 @@ <h2>
291291
context of {{Promise}} objects are used as defined in [[!ECMASCRIPT]].
292292
</p>
293293
<p>
294-
The terms <dfn data-cite="rfc9110#field.accept-language">Accept-Language</dfn>
295-
and <dfn data-cite="rfc9110#authentication">HTTP authentication</dfn> are
294+
The terms <dfn data-cite=
295+
"rfc9110#field.accept-language">Accept-Language</dfn> and
296+
<dfn data-cite="rfc9110#authentication">HTTP authentication</dfn> are
296297
used as defined in [[!RFC9110]].
297298
</p>
298299
<p>
@@ -1599,15 +1600,10 @@ <h4>
15991600
Output
16001601
</dt>
16011602
<dd>
1602-
A {{Promise}}
1603+
A new {{Promise}}
16031604
</dd>
16041605
</dl>
16051606
<ol>
1606-
<li>If there is an unsettled {{Promise}} from a previous call to
1607-
<a data-link-for="PresentationRequest">getAvailability</a> on <var>
1608-
presentationRequest</var>, return that {{Promise}} and abort
1609-
these steps.
1610-
</li>
16111607
<li>Otherwise, let <var>P</var> be a new {{Promise}} constructed in
16121608
the <a>JavaScript realm</a> of <var>presentationRequest</var>.
16131609
</li>

0 commit comments

Comments
 (0)