1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:48:12 +00:00
serenity/Userland/Libraries/LibJS/Runtime
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
..
Intl LibJS: Remove the VM parameter from the NumberToString AO 2023-02-16 14:32:22 +01:00
Temporal LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
AbstractOperations.cpp LibJS+Everywhere: Convert JS::Error to String 2023-02-17 09:14:23 -05:00
AbstractOperations.h LibJS: Convert CanonicalNumericIndexString to use NumberToString 2023-02-16 14:32:22 +01:00
Accessor.h LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
AggregateError.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
AggregateError.h LibJS: Convert AggregateError::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
AggregateErrorConstructor.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
AggregateErrorConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
AggregateErrorPrototype.cpp LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
AggregateErrorPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ArgumentsObject.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ArgumentsObject.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
Array.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
Array.h Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
ArrayBuffer.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
ArrayBuffer.h LibJS+LibWeb: Move headers around to allow including Value from Cell 2023-01-29 00:02:45 +00:00
ArrayBufferConstructor.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ArrayBufferConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ArrayBufferPrototype.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ArrayBufferPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ArrayConstructor.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
ArrayConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ArrayIterator.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
ArrayIterator.h LibJS: Convert ArrayIterator::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
ArrayIteratorPrototype.cpp LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
ArrayIteratorPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ArrayPrototype.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
ArrayPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
AsyncFromSyncIterator.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
AsyncFromSyncIterator.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
AsyncFromSyncIteratorPrototype.cpp LibJS+Everywhere: Convert JS::Error to String 2023-02-17 09:14:23 -05:00
AsyncFromSyncIteratorPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
AsyncFunctionConstructor.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
AsyncFunctionConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
AsyncFunctionDriverWrapper.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
AsyncFunctionDriverWrapper.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
AsyncFunctionPrototype.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
AsyncFunctionPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
AsyncGenerator.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
AsyncGenerator.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
AsyncGeneratorFunctionConstructor.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
AsyncGeneratorFunctionConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
AsyncGeneratorFunctionPrototype.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
AsyncGeneratorFunctionPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
AsyncGeneratorPrototype.cpp LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
AsyncGeneratorPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
AsyncGeneratorRequest.h LibJS: Make PromiseCapability GC-allocated 2022-10-02 23:02:27 +01:00
AsyncIteratorPrototype.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
AsyncIteratorPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
AtomicsObject.cpp LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
AtomicsObject.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
BigInt.cpp LibJS: Define BigInt::to_string to complement to_deprecated_string 2023-02-16 14:32:22 +01:00
BigInt.h LibJS: Define BigInt::to_string to complement to_deprecated_string 2023-02-16 14:32:22 +01:00
BigIntConstructor.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
BigIntConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
BigIntObject.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
BigIntObject.h LibJS: Convert BigIntObject::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
BigIntPrototype.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
BigIntPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
BooleanConstructor.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
BooleanConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
BooleanObject.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
BooleanObject.h LibJS: Convert BooleanObject::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
BooleanPrototype.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
BooleanPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
BoundFunction.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
BoundFunction.h AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
CanonicalIndex.h LibJS: Protect CanonicalIndex against double-to-integer overflow 2022-12-07 16:43:19 +00:00
ClassFieldDefinition.h LibJS: Include Environment.h directly in ClassFieldDefinition.h 2022-10-01 15:36:20 +01:00
CommonPropertyNames.h LibJS: Add DisposableStack{, Prototype, Constructor} 2023-01-23 09:56:50 +00:00
Completion.cpp LibJS: Add spec comments to Completion 2023-01-28 00:41:18 +00:00
Completion.h LibJS: Pre-allocate the out-of-memory error string on the VM 2023-02-17 09:14:23 -05:00
ConsoleObject.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ConsoleObject.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
DataView.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
DataView.h LibJS: Convert DataView::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
DataViewConstructor.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
DataViewConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
DataViewPrototype.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
DataViewPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
Date.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
Date.h LibJS+LibWeb: Move headers around to allow including Value from Cell 2023-01-29 00:02:45 +00:00
DateConstructor.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
DateConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
DatePrototype.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
DatePrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
DeclarativeEnvironment.cpp Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
DeclarativeEnvironment.h Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
DisposableStack.cpp LibJS: Add DisposableStack{, Prototype, Constructor} 2023-01-23 09:56:50 +00:00
DisposableStack.h LibJS: Add DisposableStack{, Prototype, Constructor} 2023-01-23 09:56:50 +00:00
DisposableStackConstructor.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
DisposableStackConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
DisposableStackPrototype.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
DisposableStackPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ECMAScriptFunctionObject.cpp LibJS+Everywhere: Convert JS::Error to String 2023-02-17 09:14:23 -05:00
ECMAScriptFunctionObject.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
Environment.cpp LibJS: Remove unnecessary GlobalObject pointer from Environment 2022-01-31 16:19:23 +01:00
Environment.h LibJS: Add an initialize binding hint to all initialize_binding methods 2023-01-23 09:56:50 +00:00
EnvironmentCoordinate.h LibJS: Shrink Identifier's environment coordinate cache 2022-11-22 21:13:35 +01:00
Error.cpp LibJS+Everywhere: Convert JS::Error to String 2023-02-17 09:14:23 -05:00
Error.h LibJS+Everywhere: Convert JS::Error to String 2023-02-17 09:14:23 -05:00
ErrorConstructor.cpp LibJS: Convert Error's constructor and prototype to String 2023-02-17 09:14:23 -05:00
ErrorConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ErrorPrototype.cpp LibJS: Convert Error's constructor and prototype to String 2023-02-17 09:14:23 -05:00
ErrorPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ErrorTypes.cpp LibJS: Emit StringViews for ErrorType instances 2022-07-12 23:11:35 +02:00
ErrorTypes.h LibJS/Temporal: Allow annotations after YYYY-MM and MM-DD 2023-02-11 18:42:32 +00:00
ExecutionContext.cpp LibJS: Make it possible to visit the edges of an ExecutionContext 2022-12-12 13:58:32 +00:00
ExecutionContext.h AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
FinalizationRegistry.cpp LibJS: Add spec comments to FinalizationRegistryPrototype 2023-01-28 00:41:18 +00:00
FinalizationRegistry.h LibJS: Don't use a Handle<Realm> in FinalizationRegistry 2022-09-03 00:36:26 +02:00
FinalizationRegistryConstructor.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
FinalizationRegistryConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
FinalizationRegistryPrototype.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
FinalizationRegistryPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
FunctionConstructor.cpp LibJS+Everywhere: Convert JS::Error to String 2023-02-17 09:14:23 -05:00
FunctionConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
FunctionEnvironment.cpp LibJS: Make FunctionEnvironment not include ECMAScriptFunctionObject.h 2022-11-23 16:05:59 +00:00
FunctionEnvironment.h LibJS: Make FunctionEnvironment not include ECMAScriptFunctionObject.h 2022-11-23 16:05:59 +00:00
FunctionKind.h LibJS: Make FunctionKind enum class a u8 2022-12-08 23:36:17 +00:00
FunctionObject.cpp LibJS: Unify Symbol::description() and raw_description() 2023-02-11 21:47:57 +00:00
FunctionObject.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
FunctionPrototype.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
FunctionPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
GeneratorFunctionConstructor.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
GeneratorFunctionConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
GeneratorFunctionPrototype.cpp LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
GeneratorFunctionPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
GeneratorObject.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
GeneratorObject.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
GeneratorPrototype.cpp LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
GeneratorPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
GlobalEnvironment.cpp LibJS: Add an initialize binding hint to all initialize_binding methods 2023-01-23 09:56:50 +00:00
GlobalEnvironment.h LibJS: Add an initialize binding hint to all initialize_binding methods 2023-01-23 09:56:50 +00:00
GlobalObject.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
GlobalObject.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
IndexedProperties.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
IndexedProperties.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Intrinsics.cpp LibJS+LibWeb: Convert empty PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
Intrinsics.h LibJS: Make namespace object initialization lazy as well 2023-01-09 22:14:35 -05:00
Iterator.h LibJS: Add a spec link for Iterator Records 2022-02-18 13:57:34 +00:00
IteratorOperations.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
IteratorOperations.h LibJS: Replace GlobalObject with VM in Iterator AOs [Part 7/19] 2022-08-23 13:58:30 +01:00
IteratorPrototype.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
IteratorPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
JobCallback.cpp LibJS: Move JobCallback functions out-of-line 2022-11-23 16:05:59 +00:00
JobCallback.h LibJS: Move JobCallback functions out-of-line 2022-11-23 16:05:59 +00:00
JSONObject.cpp LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
JSONObject.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
Map.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
Map.h Everywhere: Remove unused includes of AK/Concepts.h 2023-01-02 20:27:20 -05:00
MapConstructor.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
MapConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
MapIterator.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
MapIterator.h LibJS: Convert MapIterator::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
MapIteratorPrototype.cpp LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
MapIteratorPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
MapPrototype.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
MapPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
MathObject.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
MathObject.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ModuleEnvironment.cpp AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
ModuleEnvironment.h AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
ModuleNamespaceObject.cpp LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
ModuleNamespaceObject.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ModuleRequest.h AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
NativeFunction.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
NativeFunction.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
NumberConstructor.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
NumberConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
NumberObject.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
NumberObject.h LibJS: Convert NumberObject::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
NumberPrototype.cpp LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
NumberPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
Object.cpp LibJS: Dereference intrinsic accessor before deleting it 2023-02-17 22:29:51 -07:00
Object.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ObjectConstructor.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
ObjectConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ObjectEnvironment.cpp LibJS: Add an initialize binding hint to all initialize_binding methods 2023-01-23 09:56:50 +00:00
ObjectEnvironment.h LibJS: Add an initialize binding hint to all initialize_binding methods 2023-01-23 09:56:50 +00:00
ObjectPrototype.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
ObjectPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
PrimitiveString.cpp LibJS: Convert CanonicalNumericIndexString to use NumberToString 2023-02-16 14:32:22 +01:00
PrimitiveString.h LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
PrivateEnvironment.cpp AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
PrivateEnvironment.h AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
Promise.cpp LibJS+Everywhere: Convert JS::Error to String 2023-02-17 09:14:23 -05:00
Promise.h LibJS: Convert Promise::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
PromiseCapability.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
PromiseCapability.h AK+Everywhere: Do not implicitly copy variables in TRY macros 2023-02-10 09:08:52 +00:00
PromiseConstructor.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
PromiseConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
PromiseJobs.cpp Everywhere: Remove unnecessary mutable attributes from lambdas 2022-11-19 14:37:31 +00:00
PromiseJobs.h LibJS: Replace GlobalObject with VM in Promise AOs [Part 8/19] 2022-08-23 13:58:30 +01:00
PromisePrototype.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
PromisePrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
PromiseReaction.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
PromiseReaction.h LibJS: Convert PromiseReaction::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
PromiseResolvingElementFunctions.cpp LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
PromiseResolvingElementFunctions.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
PromiseResolvingFunction.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
PromiseResolvingFunction.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
PropertyAttributes.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
PropertyDescriptor.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
PropertyDescriptor.h LibJS: Convert PropertyDescriptor's formatter to String 2023-02-16 14:32:22 +01:00
PropertyKey.h LibJS+Everywhere: Rename Value::to_string to to_deprecated_string 2023-01-15 01:00:20 +00:00
PrototypeObject.h LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
ProxyConstructor.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
ProxyConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ProxyObject.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
ProxyObject.h AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
Realm.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
Realm.h LibJS: Convert Realm::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
Reference.cpp LibJS: Remove unused Reference::to_deprecated_string 2023-02-16 14:32:22 +01:00
Reference.h LibJS: Remove unused Reference::to_deprecated_string 2023-02-16 14:32:22 +01:00
ReflectObject.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
ReflectObject.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
RegExpConstructor.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
RegExpConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
RegExpLegacyStaticProperties.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
RegExpLegacyStaticProperties.h LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
RegExpObject.cpp LibJS: Actually escape \n|\r|LS|PS when escaping RegExp.source 2023-02-16 23:32:35 +01:00
RegExpObject.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
RegExpPrototype.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
RegExpPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
RegExpStringIterator.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
RegExpStringIterator.h LibJS: Convert RegExpStringIterator::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
RegExpStringIteratorPrototype.cpp LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
RegExpStringIteratorPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
Set.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
Set.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SetConstructor.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SetConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SetIterator.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
SetIterator.h LibJS: Convert SetIterator::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
SetIteratorPrototype.cpp LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
SetIteratorPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SetPrototype.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
SetPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ShadowRealm.cpp LibJS: Propagate out-of-memory errors from HostImportModuleDynamically 2023-02-17 09:14:23 -05:00
ShadowRealm.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
ShadowRealmConstructor.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ShadowRealmConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ShadowRealmPrototype.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
ShadowRealmPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
Shape.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
Shape.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
StringConstructor.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
StringConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
StringIterator.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
StringIterator.h LibJS: Port StringIterator to String 2023-01-16 10:12:37 +00:00
StringIteratorPrototype.cpp LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
StringIteratorPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
StringObject.cpp LibJS: Convert CanonicalNumericIndexString to use NumberToString 2023-02-16 14:32:22 +01:00
StringObject.h LibJS: Propagate the OOM error from setting the String length property 2023-01-29 00:02:45 +00:00
StringOrSymbol.h LibJS: Port Symbol to String 2023-02-11 21:47:57 +00:00
StringPrototype.cpp LibJS: Convert short string literal PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
StringPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SuppressedError.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
SuppressedError.h LibJS: Add SuppressedError{, Prototype, Constructor} 2023-01-23 09:56:50 +00:00
SuppressedErrorConstructor.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SuppressedErrorConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SuppressedErrorPrototype.cpp LibJS+LibWeb: Convert string view PrimitiveString instances to String 2023-02-09 17:13:33 +00:00
SuppressedErrorPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
Symbol.cpp LibJS: Port Symbol to String 2023-02-11 21:47:57 +00:00
Symbol.h LibJS: Port Symbol to String 2023-02-11 21:47:57 +00:00
SymbolConstructor.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
SymbolConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SymbolObject.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
SymbolObject.h LibJS: Remove unused forwarding getters from SymbolObject 2023-02-11 21:47:57 +00:00
SymbolPrototype.cpp LibJS: Port Symbol to String 2023-02-11 21:47:57 +00:00
SymbolPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ThrowableStringBuilder.cpp LibJS: Pre-allocate the out-of-memory error string on the VM 2023-02-17 09:14:23 -05:00
ThrowableStringBuilder.h LibJS: Add a throwable StringBuilder::join method 2023-02-17 09:14:23 -05:00
TypedArray.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
TypedArray.h LibJS: Convert CanonicalNumericIndexString to use NumberToString 2023-02-16 14:32:22 +01:00
TypedArrayConstructor.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
TypedArrayConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
TypedArrayPrototype.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
TypedArrayPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
Utf16String.cpp LibJS: Define Utf16String::to_utf8 to convert Utf16String to String 2023-01-15 01:00:20 +00:00
Utf16String.h LibJS: Define Utf16String::to_utf8 to convert Utf16String to String 2023-01-15 01:00:20 +00:00
Value.cpp LibJS: Remove Value::to_deprecated_string_without_side_effects 2023-02-16 14:32:22 +01:00
Value.h LibJS: Remove Value::to_deprecated_string_without_side_effects 2023-02-16 14:32:22 +01:00
ValueTraits.h LibJS+LibWeb: Move headers around to allow including Value from Cell 2023-01-29 00:02:45 +00:00
VM.cpp LibJS: Propagate out-of-memory errors from HostImportModuleDynamically 2023-02-17 09:14:23 -05:00
VM.h LibJS: Propagate out-of-memory errors from HostImportModuleDynamically 2023-02-17 09:14:23 -05:00
WeakContainer.cpp LibJS: Use IntrusiveList for keeping track of WeakContainers 2021-07-21 20:17:55 +02:00
WeakContainer.h LibJS: Add missing headers 2021-10-06 23:52:40 +01:00
WeakMap.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
WeakMap.h LibJS: Convert WeakMap::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
WeakMapConstructor.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
WeakMapConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
WeakMapPrototype.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
WeakMapPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
WeakRef.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
WeakRef.h LibJS: Convert WeakRef::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
WeakRefConstructor.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
WeakRefConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
WeakRefPrototype.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
WeakRefPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
WeakSet.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
WeakSet.h LibJS: Convert WeakSet::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
WeakSetConstructor.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
WeakSetConstructor.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
WeakSetPrototype.cpp LbJS: Convert exception-related usages of Value::TDSWOSE to String 2023-02-16 14:32:22 +01:00
WeakSetPrototype.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
WrappedFunction.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
WrappedFunction.h AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00