|
575 | 575 | |details|)dfn>code> constructor MUST act as follows:
|
576 | 576 | p>
|
577 | 577 | <ol class="algorithm">
|
578 |
| - <li>If the <a>current settings objecta>'s [=relevant global |
579 |
| - object=]'s [=associated `Document`=] is not <a>allowed to usea> the |
580 |
| - "[=payment-permission|payment=]" permission, then [=exception/throw=] |
| 578 | + <li>If [=this=]'s [=relevant global object=]'s [=associated |
| 579 | + `Document`=] is not <a>allowed to usea> the |
| 580 | + <a>"payment"a> permission, then [=exception/throw=] |
581 | 581 | a {{"SecurityError"}} {{DOMException}}.
|
582 | 582 | li>
|
583 | 583 | <li>Establish the request's id:
|
|
1957 | 1957 | |response|.{{PaymentResponse/[[request]]}}.
|
1958 | 1958 | li>
|
1959 | 1959 | <li>Let |document:Document| be |request|'s <a>relevant global
|
1960 |
| - objecta>'s <a>associated Documenta>. |
| 1960 | + objecta>'s <a>associated `Document`a>. |
1961 | 1961 | li>
|
1962 | 1962 | <li data-tests=
|
1963 | 1963 | "payment-response/rejects_if_not_active-manual.https.html">If
|
|
1987 | 1987 | If
|
1988 | 1988 | |errorFields:PaymentValidationErrors|.{{PaymentValidationErrors/paymentMethod}}
|
1989 | 1989 | member was passed, and if required by the specification that
|
1990 |
| - defines |response|.{{PaymentResponse/payment}}, then [=converted |
| 1990 | + defines |response|.{{PaymentResponse/methodName}}, then [=converted |
1991 | 1991 | to an IDL value|convert=] |errorFields|'s
|
1992 | 1992 | {{PaymentValidationErrors/paymentMethod}} member to an IDL value
|
1993 | 1993 | of the type specified there. Otherwise, [=converted to an IDL
|
|
2305 | 2305 | h2>
|
2306 | 2306 | <p>
|
2307 | 2307 | This specification defines a [=policy-controlled feature=] identified
|
2308 |
| - by the string "<code><dfn data-lt="payment-permission" data-nodefault= |
2309 |
| - "">paymentdfn>code>" [[permissions-policy]]. Its <a>default |
2310 |
| - allowlista> is '<code>selfcode>'. |
| 2308 | + by the string <dfn class="permission">"payment"dfn> |
| 2309 | + [[permissions-policy]]. Its <a>default allowlista> is |
| 2310 | + '<code>selfcode>'. |
2311 | 2311 | p>
|
2312 | 2312 | <aside class="note">
|
2313 | 2313 | <p>
|
|
0 commit comments