map = new Map map.set(1,"foo") keys = map.keys() for (key of keys) ; map.set(2, "bar") map.set(3, "wibble") for (key of keys) alert(key) // incorrectly shows 3 iterator spec says that a dead iterator has to remain dead.
Created attachment 236728 [details] Patch
<rdar://problem/18043281>
Comment on attachment 236728 [details] Patch whoops, cq- needs a testcase
Created attachment 236744 [details] Patch
Test cases added for Map and Set iterators. PTAL.
Comment on attachment 236744 [details] Patch Clearing flags on attachment: 236744 Committed r172707: <http://trac.webkit.org/changeset/172707>
All reviewed patches have been landed. Closing bug.