diff --git a/index.html b/index.html index 7bd92d73..1779785b 100644 --- a/index.html +++ b/index.html @@ -126,7 +126,8 @@
+ To indicate that a cross-origin [^iframe^] is allowed to invoke the + payment request API, the [^iframe/allow^] attribute along with the + "payment" keyword can be specified on the [^iframe^] element. +
++ <iframe + src="https://cross-origing.example" + allow="payment"> + </iframe> ++
+ If the [^iframe^] will be navigated across multiple origins that + support the Payment Request API, then one can set [^iframe/allow^] to + `"payment *"`. The [[[permissions-policy]]] specification provides + further details and examples. +
+PaymentRequest
and iframe
elements
- - To indicate that a cross-origin [^iframe^] is allowed to invoke the - payment request API, the [^iframe/allowpaymentrequest^] attribute can - be specified on the [^iframe^] element. See [[[#permissions-policy]]] - for details of how [^iframe/allowoaymentrequest=] and - [[[permissions-policy]]] interact. -
-self
'.
- Payment handlers have access to both the origin that hosts the