Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb9a3e3d

Browse files
authored
Always return a new Promise from getAvailability(). (#525)
* Always return a new Promise from getAvailability().* Respond to comments
1 parent214830c commitb9a3e3d

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

‎index.html‎

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ <h4>
995995
Output
996996
</dt>
997997
<dd>
998-
A<a>PresentationRequest</a> object
998+
Anew<a>PresentationRequest</a> object
999999
</dd>
10001000
</dl>
10011001
<ol>
@@ -1064,7 +1064,7 @@ <h4>
10641064
Output
10651065
</dt>
10661066
<dd>
1067-
A {{Promise}}
1067+
Anew{{Promise}}
10681068
</dd>
10691069
</dl>
10701070
<ol>
@@ -1320,7 +1320,7 @@ <h4>
13201320
Output
13211321
</dt>
13221322
<dd>
1323-
<var>P</var>, a {{Promise}}
1323+
<var>P</var>, anew{{Promise}}
13241324
</dd>
13251325
</dl>
13261326
<ol>
@@ -1614,17 +1614,12 @@ <h4>
16141614
Output
16151615
</dt>
16161616
<dd>
1617-
A {{Promise}}
1617+
Anew{{Promise}}
16181618
</dd>
16191619
</dl>
16201620
<ol>
1621-
<li>If there is an unsettled {{Promise}} from a previous call to
1622-
<adata-link-for="PresentationRequest">getAvailability</a> on<var>
1623-
presentationRequest</var>, return that {{Promise}} and abort
1624-
these steps.
1625-
</li>
1626-
<li>Otherwise, let<var>P</var> be a new {{Promise}} constructed in
1627-
the<a>JavaScript realm</a> of<var>presentationRequest</var>.
1621+
<li>Let<var>P</var> be a new {{Promise}} constructed in the
1622+
<a>JavaScript realm</a> of<var>presentationRequest</var>.
16281623
</li>
16291624
<li>Return<var>P</var>, but continue running these steps<a>in
16301625
parallel</a>.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp