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

[Bug 26183] make it easier to define an iterator on an interface that iterates over a set of values

From: <bugzilla@jessica.w3.org>
Date: Mon, 06 Oct 2014 04:54:51 +0000
To: public-script-coord@w3.org
Message-ID: <bug-26183-3890-wB7noafLzO@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26183

--- Comment #39 from Boris Zbarsky <bzbarsky@mit.edu> ---
Also,

26)  http://heycam.github.io/webidl/#es-iterators says that for indexed props
%ArrayProto_values% is used unless there is an explicit iterable declaration,
in which case the default iterator object is used (and its behavior needs to be
defined).  But http://heycam.github.io/webidl/#idl-iterable says that if you
have both an iterable declaration and indexed props then the indexed prop
values get iterated.  These are contradicting each other and we should decide
which behavior we actually want.  See bug 23212 comment 4 for the relevant spec
quotes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 6 October 2014 04:54:52 UTC

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