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

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

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bzbarsky@mit.edu

--- Comment #2 from Boris Zbarsky <bzbarsky@mit.edu> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Friday, 25 September 2015 20:03:26 UTC