W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2012

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 15 Nov 2012 08:21:33 -0800
Message-ID: <50A5168D.7040109@mit.edu>
To: Marcos Caceres <w3c@marcosc.com>
CC: "public-script-coord@w3.org" <public-script-coord@w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:07 UTC