Skip to content

Commit ee3dde1

Browse files
Reject with SecurityError when no transient activation (#961)
1 parent 41c87b0 commit ee3dde1

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

index.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,8 +766,15 @@

766766
<li data-tests=
767767
"payment-request-show-method.https.html, show-method-postmessage-manual.https.html">
768768
If the [=relevant global object=] of [=request=] does not have
769-
[=transient activation=], return [=a promise rejected with=] with a
770-
{{"NotAllowedError"}} {{DOMException}}.
769+
[=transient activation=]:
770+
<ol>
771+
<li>Set |request|.{{PaymentRequest/[[state]]}} to
772+
"[=PaymentRequest/closed=]".
773+
li>
774+
<li>Return [=a promise rejected with=] with a {{"SecurityError"}}
775+
{{DOMException}}.
776+
li>
777+
ol>
771778
li>
772779
<li data-tests="show-consume-activation.https.html">[=Consume user
773780
activation=] of the [=relevant global object=].

0 commit comments

Comments
 (0)