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: Fri, 03 Oct 2014 04:46:25 +0000
To: public-script-coord@w3.org
Message-ID: <bug-26183-3890-I5MRTIxz7J@http.www.w3.org/Bugs/Public/>

--- Comment #29 from Cameron McCormack <cam@mcc.id.au> ---
(In reply to Tab Atkins Jr. from comment #28)
> There's no issue here; the internal Map data isn't part of the prototype;
> it's a product of calling the Map constructor on the object.  Since that
> doesn't happen, it doesn't matter what the prototype is.

Yes it's not an issue if you don't have a [[MapData]] directly on the object. 
But not having a [[MapData]] directly on the object means that you can't make
even the safe functions like <maplikeinterface>.prototype.values ===
%MapPrototype%.values, since it'll just throw.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Friday, 3 October 2014 04:46:27 UTC

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