Re: [heycam/webidl] Do records (record<>s) purposefully throw on any object with an enumerable Symbol-named property? (#294)

I didn't consider the case of Symbol-named properties. The existing implementation in Mozilla is a good argument to allow-and-ignore Symbol-named properties. On the other hand, we meant folks to create the ES object specifically to pass into the `record<>` argument (evidence: we [didn't search the prototype chain](https://github.com/heycam/webidl/pull/180#issuecomment-252851974)), and accidental Symbols are unlikely in that case, which argues for diagnosing them.

-- 
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/294#issuecomment-277312522

Received on Friday, 3 February 2017 17:42:06 UTC