1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 22:07:36 +00:00
serenity/Userland
Timothy Flynn 424c7eaa40 LibJS: Fix replaceAll crash for overlapping search string positions
The implementation of String.prototype.replaceAll cannot use AK's
implementation of String::find_all when finding the indices of the
search string in the source string. String::find_all will return indices
[0, 1] for String("aaa").find_all("aa") - i.e. it returns overlapping
results. This is not allowed by the JavaScript specification for
replaceAll.
2021-07-06 15:07:26 +01:00
..
Applets Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Applications LibJS: Remove the non-standard put helper and replace it's usages 2021-07-06 14:20:30 +01:00
Demos Fire: Make the main widget a GUI::Frame 2021-07-05 02:38:31 +02:00
DevTools LibJS: Remove the non-standard put helper and replace it's usages 2021-07-06 14:20:30 +01:00
DynamicLoader DynamicLoader: Remove -fbuilding-libgcc hack 2021-07-04 00:35:35 +02:00
Games Games: Add Spider 2021-06-24 10:32:53 +02:00
Libraries LibJS: Fix replaceAll crash for overlapping search string positions 2021-07-06 15:07:26 +01:00
Services WindowServer: Fix crash removing modal windows 2021-07-05 19:31:48 +02:00
Shell Everywhere: Prefer using "..."sv over StringView { "..." } 2021-07-04 14:24:03 +02:00
Utilities LibJS: Remove Object::is_array() in favor of Value::is_array() and RTTI 2021-07-06 14:26:18 +01:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00