- From: Marcos Cáceres <notifications@github.com>
- Date: Sun, 25 Nov 2018 22:18:36 -0800
- To: w3c/payment-request <payment-request@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 26 November 2018 06:18:58 UTC
Related to #753
Given the following:
```JS
var details = {
total: {
label: "Total",
amount: {
currency: "USD",
value: "0.00",
},
},
};
new PaymentRequest(
[
{ supportedMethods: "basic-card", data: { supportedNetworks: "☠️" } },
],
details
);
```
Firefox currently throws, because it tries to do the IDL conversion:
> TypeError: Fail to convert methodData.data to BasicCardRequest.
Chrome doesn't throw.
Per spec, Chrome is right... but it not doing the conversion seems not great.
--
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/813
Received on Monday, 26 November 2018 06:18:58 UTC