1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 06:37:36 +00:00
serenity/Userland/Libraries/LibJS/Tests/builtins/Map
davidot 45646eee43 LibJS: Fix Map Iterators when elements are deleted during iteration
Before this would assume that the element found in operator++ was still
valid when dereferencing it in operator*.
Since any code can have been run since that increment this is not always
valid.
To further simplify the logic of the iterator we no longer store the
index in an optional.
2022-02-10 14:09:39 +00:00
..
Map.js
Map.prototype.clear.js
Map.prototype.delete.js LibJS: Fix Map Iterators when elements are deleted during iteration 2022-02-10 14:09:39 +00:00
Map.prototype.entries.js
Map.prototype.forEach.js
Map.prototype.get.js
Map.prototype.has.js
Map.prototype.keys.js
Map.prototype.set.js LibJS: Fix Map Iterators when elements are deleted during iteration 2022-02-10 14:09:39 +00:00
Map.prototype.values.js LibJS: Fix Map Iterators when elements are deleted during iteration 2022-02-10 14:09:39 +00:00