DescriptionPaymentRequest should throw if not in top context.
The PaymentRequest specification currently states that PaymentRequest
can be constructed only in a top-level browsing context. When inside of
an iframe, the constructor should throw a SecurityError.
https://w3c.github.io/browser-payment-api/specs/paymentrequest.html#paymentrequest-constructor
Note this may change in the future via iframe sandboxing.
https://github.com/w3c/browser-payment-api/issues/2
BUG=587995
Committed: https://crrev.com/b26313ef9d24c94f72c87f450e54999404e55e51
Cr-Commit-Position: refs/heads/master@{#397035}
Patch Set 1 #
Total comments: 4
Patch Set 2 : #
Messages
Total messages: 11 (4 generated)
|