[w3c/payment-request] Sensible defaults for dictionary members (#780)

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