- From: Marcos Cáceres <notifications@github.com>
- Date: Wed, 26 Sep 2018 02:17:02 -0700
- To: w3c/payment-request <payment-request@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 26 September 2018 09:17:23 UTC
As part of https://github.com/heycam/webidl/issues/76, we should give dictionary members that accept other dictionary members a default value. In most cases, we set the default to `null` and IDL conversion treats that as if an empty dictionary was passed "{}".
So, for example:
```JS
const dict = {};
response.retry(dict);
```
Would show up internally as if the following had been passed: `{ payer: {}, shippingAddress: {} }`.
--
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/780
Received on Wednesday, 26 September 2018 09:17:23 UTC