1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 23:01:01 +00:00
serenity/Userland
Linus Groh d85b9fd5a0 LibJS: Bring back runtime validation of RegExp flags
This is a partial revert of commit 60064e2, which removed the validation
of RegExp flags during runtime and expected the parser to do that
exclusively - however this was not taking into account the RegExp()
constructor, which was subsequently crashing on invalid flags.

Also adds test for these constructor error cases, which were obviously
missing before.

Fixes #7042.
2021-05-11 22:47:14 +01:00
..
Applets AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
Applications Magnifier: Make window resizable 2021-05-11 18:01:55 +02:00
Demos GLTeapot: Use glGenLists() a bit to demonstrate that it works 2021-05-11 14:09:17 +01:00
DevTools HackStudio: Tweak Files/Classes tab views 2021-05-10 13:45:49 +02:00
DynamicLoader DynamicLoader: Remove math functionality in favor of -lgcc 2021-05-07 15:35:50 +02:00
Games 2048: Added Redo Support 2021-05-11 10:22:27 +01:00
Libraries LibJS: Bring back runtime validation of RegExp flags 2021-05-11 22:47:14 +01:00
Services WindowServer: Add Optional<Gfx::IntRect> argument to get_screen_bitmap() 2021-05-11 10:18:29 +01:00
Shell LibLine+Shell: Add dirty history flag and use it 2021-05-11 17:26:30 +01:00
Utilities WindowServer: Add Optional<Gfx::IntRect> argument to get_screen_bitmap() 2021-05-11 10:18:29 +01:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00