Closed Bug 783826 Opened 13 years ago Closed 11 years ago

The enumerate trap on the Proxy handler API should return an iterator object

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 783829

People

(Reporter: ejpbruel, Unassigned)

References

Details

(Whiteboard: [js:t])

The spec requires interleaving execution of the for-in loop with array element accesses on the trap result. In other words, it requires the trap to produce an iterator object for the for-in machinery to consume. This is currently not supported by the Proxy handler API.
Blocks: 783829
Whiteboard: [js:t]
Assignee: general → nobody
I don't think we have use for this bug. I am probably going to do all in one bug.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.