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 20:03:24 +0000
To: public-script-coord@w3.org
Message-ID: <bug-29151-3890-8N6T5MCh1e@http.www.w3.org/Bugs/Public/>

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

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