Skip to content

Commit 5f977ed

Browse files
fix: calling show() on a request when sheet is showing causes that request to "close" (#821)
1 parent 7a9828a commit 5f977ed

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

index.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -945,10 +945,15 @@

945945
then return <a>a promise rejected witha> an
946946
"<a>InvalidStateErrora>" <a>DOMExceptiona>.
947947
li>
948-
<li>If <var>requestvar>'s <a>payment-relevant browsing
949-
contexta>'s <a>payment request is showinga> boolean is true, then
950-
return <a>a promise rejected witha> an "<a>AbortErrora>"
951-
<a>DOMExceptiona>.
948+
<li>If the <a>user agenta>'s <a>payment request is showinga>
949+
boolean is true, then:
950+
<ol>
951+
<li>Set <var>requestvar>.<a>[[\state]]a> to "<a>closeda>".
952+
li>
953+
<li>Return <a>a promise rejected witha> an
954+
"<a>AbortErrora>" <a>DOMExceptiona>.
955+
li>
956+
ol>
952957
li>
953958
<li>Set <var>requestvar>.<a>[[\state]]a> to "<a>interactivea>".
954959
li>

0 commit comments

Comments
 (0)