- From: Marcos Cáceres <notifications@github.com>
- Date: Wed, 24 May 2017 21:54:26 -0700
- To: w3c/browser-payment-api <browser-payment-api@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 25 May 2017 04:55:00 UTC
To be clear, trying to solve for:
```JS
const methodData = [{
supportedMethods: ["basic-card"],
data: { supportedTypes: ['THIS IS NOT A VALID ENUM VALUE!!'] }
}];
const request = new PaymentRequest(methodData, details, options);
try {
// When converting data, should `supportedTypes` cause `acceptPromise` to reject?
const response = await request.show();
} catch(err) {
}
```
--
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/browser-payment-api/pull/536#issuecomment-303922170
Received on Thursday, 25 May 2017 04:55:00 UTC