Re: [WebIDL] Allowing specifications to opt in to throwing on sets of enumerated attributes to invalid values

On 11/15/12 8:03 AM, Marcos Caceres wrote:
> Yeah, I realized that after I sent it… but assume Version 0 works like WebIDL does today.

Then any sane implementor would formally object to a spec changing 
behavior from non-throwing to throwing.  That's just not an OK thing to 
do.  I'd hope no sane spec author would even consider it.

> So, a value may or may not be set (as it may fall back to a default), so you need to confirm that it actually worked. If Version 1 switches to [strict], then you need the above check to catch Version 0, no?

In the hypothetical case of insane editors and implementors.... yes. ;)

-Boris

Received on Thursday, 15 November 2012 16:22:07 UTC