File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 157
157
li >
158
158
< li > Deprecated `allowpaymentrequest` attribute.
159
159
li >
160
+ < li > Calling {{PaymentRequest/show()}} now consumes the user
161
+ activation.
162
+ li >
160
163
ul >
161
164
section >
162
165
section >
990
993
follows:
991
994
p >
992
995
< ol class ="algorithm ">
996
+ < li > Let |request:PaymentRequest| be [=this=].
997
+ li >
993
998
< li data-tests =
994
999
"payment-request-show-method.https.html, show-method-postmessage-manual.https.html ">
995
- If the [=relevant global object=] of [=this =] does not have
1000
+ If the [=relevant global object=] of [=request =] does not have
996
1001
[=transient activation=], return [=a promise rejected with=] with a
997
- {{"SecurityError "}} {{DOMException}}.
1002
+ {{"NotAllowedError "}} {{DOMException}}.
998
1003
li >
999
- < li > Let |request:PaymentRequest| be [=this=].
1004
+ < li data-tests ="show-consume-activation.https.html "> [=Consume user
1005
+ activation=] of the [=relevant global object=].
1000
1006
li >
1001
- < li > Let |document| be |request|'s [=relevant global object=]'s [=
1002
- associated `Document`=].
1007
+ < li > Let |document| be |request|'s [=relevant global object=]'s
1008
+ [= associated `Document`=].
1003
1009
li >
1004
1010
< li data-tests ="rejects_if_not_active.https.html "> If |document| is
1005
1011
not [=Document/fully active=], then return < a > a promise rejected
You can’t perform that action at this time.
0 commit comments