RESOLVED FIXED 124017
Map.forEach crashes on deleted values
https://bugs.webkit.org/show_bug.cgi?id=124017
Summary Map.forEach crashes on deleted values
Alexandru Chiculita
Reported 2013-11-07 15:39:32 PST
Created attachment 216338 [details] Test case Crash when using Map.forEach after deleting a value from the map. See the attached test case.
Attachments
Test case (131 bytes, text/html)
2013-11-07 15:39 PST, Alexandru Chiculita
no flags
Patch (5.40 KB, patch)
2013-11-08 10:42 PST, Oliver Hunt
rniwa: review+
Oliver Hunt
Comment 1 2013-11-07 20:34:13 PST
Yeah, need to work out why the iterator is going wrong. :(
Oliver Hunt
Comment 2 2013-11-08 10:42:05 PST
Oliver Hunt
Comment 3 2013-11-08 10:45:25 PST
Joseph Pecoraro
Comment 4 2013-11-08 11:10:01 PST
Comment on attachment 216410 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=216410&action=review > Source/JavaScriptCore/ChangeLog:10 > + can perform an initialisation increment on construction, whle Typo: "whle" => "while"
Note You need to log in before you can comment on or make changes to this bug.