Closed Bug 1032198 Opened 11 years ago Closed 10 years ago

Wrong [[Prototype]] for %MapIteratorPrototype%

Categories

(Core :: JavaScript: Standard Library, defect)

33 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1091945

People

(Reporter: erik, Unassigned)

Details

https://people.mozilla.org/~jorendorff/es6-draft.html#sec-%mapiteratorprototype%-object The prototype of the map iterator prototype should be Object.prototype. The following assert is failing assert(new Map().entries().__proto__.__proto__ === Object.prototype)
Work to add %IteratorPrototype% has started in bug 1091945.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.