Re: [heycam/webidl] Allow dictionary default values to reference type members (#717)

The value is not purely limited to bitmasks, e.g. imagine an interface with a DEFAULT_TIMEOUT constant used in a dictionary in one of it's member functions.

> We can't argue that performance is a driving factor, since the underlying platform graphics APIs might not use the same values in their bitmasks.

I disagree. There is definitely way more overhead in taking in a dictionary and converting it (because of many accesses into a VM managed object) than converting one bitmask into another.

-- 
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/717#issuecomment-486282444

Received on Wednesday, 24 April 2019 15:08:09 UTC