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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29151

--- 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