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

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

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