Skip to content

Commit f07c64c

Browse files
author
Marcos Cáceres
authored
Editorial: use new user activation model (w3c#885)
1 parent 00604d1 commit f07c64c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -958,9 +958,9 @@ <h2>
958958
<ol class="algorithm">
959959
<li data-tests=
960960
"payment-request-show-method.https.html, show-method-postmessage-manual.https.html">
961-
If the method was not <a>triggered by user activation</a>, return <a>
962-
a promise rejected with</a> with a {{"SecurityError"}}
963-
{{DOMException}}.
961+
If the [=relevant global object=] of [=this=] does not have
962+
[=transient activation=], return [=a promise rejected with=] with a
963+
{{"SecurityError"}} {{DOMException}}.
964964
</li>
965965
<li>Let |request:PaymentRequest| be the <a>context object</a>.
966966
</li>
@@ -5129,8 +5129,8 @@ <h2>
51295129
<p>
51305130
To help ensure that users do not inadvertently share sensitive
51315131
credentials with an origin, this API requires that PaymentRequest's
5132-
<a>show()</a> method be <a>triggered by user activation</a> (e.g.,
5133-
via a click or press).
5132+
<a>show()</a> method be invoked while the relevant {{Window}} has
5133+
[=transient activation=] (e.g., via a click or press).
51345134
</p>
51355135
<p>
51365136
To avoid a confusing user experience, this specification limits the

0 commit comments

Comments
 (0)