Re: [heycam/webidl] Enums that does not throw? (#893)

@annevk 

> IDL does not throw for enums passed to setters. It only does so for methods and constructors.

Thanks for clarifying/correcting this. I’d never noticed the special casing in create-an-attribute-setter and had assumed HTML not using IDL enums for reflected content attributes was about not-throwing. Is the use of DOMString for these in HTML just cause of the invalid/missing value defaults + sometimes-stateful valid value sets?

-- 
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/893#issuecomment-645701851

Received on Thursday, 18 June 2020 00:45:52 UTC