1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-26 04:45:06 +00:00
serenity/Userland/Libraries/LibJS
Jelle Raaijmakers 8f015a18a5 LibJS: Dereference intrinsic accessor before deleting it
The iterator used to find an intrinsic accessor is used after calling
`HashMap.remove()` on it, which works for our current implementation but
will fall apart when you consider that modifications to the hash map
might invalidate all existing iterators that came from it, as many
implementations do.

Since we're aiming to replace our `HashTable` implementation with
something new, let's fix this first :^)
2023-02-17 22:29:51 -07:00
..
Bytecode LibJS: Remove unused CodeGenerationError::to_deprecated_string 2023-02-17 09:14:23 -05:00
Contrib/Test262 LibJS+Everywhere: Convert JS::Error to String 2023-02-17 09:14:23 -05:00
Heap LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
Runtime LibJS: Dereference intrinsic accessor before deleting it 2023-02-17 22:29:51 -07:00
Tests LibJS: Manually loop over escaped regex pattern instead of ::replace() 2023-02-16 21:03:19 +01:00
AST.cpp LibJS: Propagate out-of-memory errors from HostImportModuleDynamically 2023-02-17 09:14:23 -05:00
AST.h Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
CMakeLists.txt LibJS: Add to_string definitions to CodeGenerationError and ParserError 2023-02-17 09:14:23 -05:00
Console.cpp LibJS+Userland: Port the JS Console object and direct callers to String 2023-02-10 17:26:20 +00:00
Console.h LibJS+Userland: Port the JS Console object and direct callers to String 2023-02-10 17:26:20 +00:00
CyclicModule.cpp LibJS: Convert NativeFunction::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
CyclicModule.h LibJS+LibWeb: Make CyclicModule.h not include AST.h 2022-11-23 16:05:59 +00:00
Forward.h LibJS: Add DisposableStack{, Prototype, Constructor} 2023-01-23 09:56:50 +00:00
Interpreter.cpp WebContent+LibWeb+LibJS: Simplify injection of JS console globals 2022-12-09 18:51:03 +00:00
Interpreter.h AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
Lexer.cpp LibJS: Remove some usage of DeprecatedString usage from Lexer 2023-01-26 20:25:25 +00:00
Lexer.h LibJS: Remove some usage of DeprecatedString usage from Lexer 2023-01-26 20:25:25 +00:00
MarkupGenerator.cpp LibJS: Convert remaining usages of Value::TDSWOSE to Value::TSWOSE 2023-02-16 14:32:22 +01:00
MarkupGenerator.h LibJS: Convert MarkupGenerator to the new String 2022-12-07 09:58:38 +00:00
Module.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
Module.h AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
Parser.cpp LibJS: Remove some usage of DeprecatedString usage from Lexer 2023-01-26 20:25:25 +00:00
Parser.h LibJS: Add using declaration support in for and for of loops 2023-01-23 09:56:50 +00:00
ParserError.cpp LibJS: Add to_string definitions to CodeGenerationError and ParserError 2023-02-17 09:14:23 -05:00
ParserError.h LibJS: Add to_string definitions to CodeGenerationError and ParserError 2023-02-17 09:14:23 -05:00
Print.cpp LibJS: Escape printed strings making them proper string literals 2023-02-16 21:03:19 +01:00
Print.h Everywhere: Remove the AK:: qualifier from Stream usages 2023-02-13 00:50:07 +00:00
SafeFunction.h AK: Check the return type in IsCallableWithArguments 2023-02-04 18:47:02 -07:00
Script.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
Script.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
SourceCode.cpp LibJS: Remove DeprecatedString usage from SourceCode 2023-01-26 20:25:25 +00:00
SourceCode.h LibJS: Remove DeprecatedString usage from SourceCode 2023-01-26 20:25:25 +00:00
SourceRange.h LibJS: Remove DeprecatedString usage from SourceCode 2023-01-26 20:25:25 +00:00
SourceTextModule.cpp LibJS: Add using declaration support, RAII like operation in js 2023-01-23 09:56:50 +00:00
SourceTextModule.h AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
SyntaxHighlighter.cpp LibJS: Remove a bunch of gratuitous JS namespace qualifiers 2022-04-03 15:19:33 +01:00
SyntaxHighlighter.h LibSyntax: Teach each highlighter about it's comment syntax 2022-11-27 18:28:43 -07:00
SyntheticModule.cpp LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
SyntheticModule.h AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
Token.cpp AK: Remove StringBuilder::build() in favor of to_deprecated_string() 2023-01-27 20:38:49 +00:00
Token.h LibJS: Remove DeprecatedString usage from Token 2023-01-26 20:25:25 +00:00