[w3c/payment-request] Expected behaviours: paymentmethodchange event updates with a rejection (#898)

What's the expected behaviours should be if the paymentmethodchange event updates with a rejection? The following snippet demonstrates this scenario:

`request.addEventListener('paymentmethodchange', (event) => {
    event.updateWith(Promise.reject('Error for test'));
  });`

-- 
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-request/issues/898

Received on Friday, 7 February 2020 18:49:49 UTC