- From: jan-ivar <notifications@github.com>
- Date: Thu, 15 Mar 2018 13:26:23 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 15 March 2018 20:26:45 UTC
Automatically eliding empty dictionaries might make it harder to provide invariants to JS, like: ```js if (pc.getParameters().rtcp.cname) // TypeError: pc.getParameters(...).rtcp is undefined ``` That might be correct in this particular case, but as a general rule, I could see it causing edges if a returned dictionary is mostly not empty. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/76#issuecomment-373511586
Received on Thursday, 15 March 2018 20:26:45 UTC