[w3c/payment-handler] Should throw InvalidStateError if PaymentRequestEvent is not trusted (#294)

We should not allow any operation(e.g. respondWith) in untrusted event.

Implementation commitment:

 * [x] Chrome (https://crrev.com/c/1013664)

You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/payment-handler/pull/294

-- Commit Summary --

  * Should throw InvalidStateError if PaymentRequestEvent is not trusted

-- File Changes --

    M index.html (15)

-- Patch Links --

https://github.com/w3c/payment-handler/pull/294.patch
https://github.com/w3c/payment-handler/pull/294.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-handler/pull/294

Received on Sunday, 15 April 2018 11:32:51 UTC