W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2015

[Bug 29151] Clarify if assigning wrong enumeration value to an attribute should throw

From: <bugzilla@jessica.w3.org>
Date: Fri, 25 Sep 2015 21:05:17 +0000
To: public-script-coord@w3.org
Message-ID: <bug-29151-3890-8PY10hf4KP@http.www.w3.org/Bugs/Public/>

--- Comment #3 from Christophe Dumez <dchris@gmail.com> ---
(In reply to Boris Zbarsky from comment #2)
> This behavior is specified in
> https://heycam.github.io/webidl/#dfn-attribute-setter step 4 which doesn't
> invoke https://heycam.github.io/webidl/#es-enumeration at all but instead
> uses a slightly different algorithm.  So
> https://heycam.github.io/webidl/#es-enumeration is only invoked for
> operation arguments, dictionary members, sequence members, and so forth.
> I agree that it's a bit confusing to do it that way, but it avoids the
> problem of saying in https://heycam.github.io/webidl/#es-enumeration that
> the behavior depends on "where it's called from", which is a bit hard to
> define precisely.

Ok, thank you. I assumed there was something I missed in the spec what I wanted
to confirm. I think it is fine to leave as is then.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Friday, 25 September 2015 21:05:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:24 UTC