1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:48:14 +00:00
serenity/Userland/Libraries/LibJS/Runtime
Timothy Flynn 115baa7e32 LibJS+Everywhere: Make PrimitiveString and Utf16String fallible
This makes construction of Utf16String fallible in OOM conditions. The
immediate impact is that PrimitiveString must then be fallible as well,
as it may either transcode UTF-8 to UTF-16, or create a UTF-16 string
from ropes.

There are a couple of places where it is very non-trivial to propagate
the error further. A FIXME has been added to those locations.
2023-01-08 12:13:15 +01:00
..
Intl LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
Temporal LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
AbstractOperations.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
AbstractOperations.h LibJS: Convert get_this_environment() to NonnullGCPtr 2022-12-16 09:59:56 +01:00
Accessor.h LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
AggregateError.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
AggregateError.h LibJS: Convert AggregateError::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
AggregateErrorConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
AggregateErrorConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
AggregateErrorPrototype.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
AggregateErrorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ArgumentsObject.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
ArgumentsObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
Array.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
Array.h LibJS: Convert Array::create{,_from}() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
ArrayBuffer.cpp LibJS: Convert ordinary_create_from_constructor() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
ArrayBuffer.h LibJS: Convert ArrayBuffer::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
ArrayBufferConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
ArrayBufferConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
ArrayBufferPrototype.cpp LibJS: Convert standalone construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
ArrayBufferPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ArrayConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
ArrayConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
ArrayIterator.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
ArrayIterator.h LibJS: Convert ArrayIterator::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
ArrayIteratorPrototype.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
ArrayIteratorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ArrayPrototype.cpp LibJS: Convert standalone construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
ArrayPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
AsyncFromSyncIterator.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
AsyncFromSyncIterator.h LibJS: Convert AsyncFromSyncIterator::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
AsyncFromSyncIteratorPrototype.cpp LibJS: Convert NativeFunction::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
AsyncFromSyncIteratorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
AsyncFunctionConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
AsyncFunctionConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
AsyncFunctionDriverWrapper.cpp LibJS: Convert Promise::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
AsyncFunctionDriverWrapper.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
AsyncFunctionPrototype.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
AsyncFunctionPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02: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: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
AsyncGeneratorFunctionConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
AsyncGeneratorFunctionPrototype.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
AsyncGeneratorFunctionPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
AsyncGeneratorPrototype.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
AsyncGeneratorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
AsyncGeneratorRequest.h LibJS: Make PromiseCapability GC-allocated 2022-10-02 23:02:27 +01:00
AsyncIteratorPrototype.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
AsyncIteratorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
AtomicsObject.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
AtomicsObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
BigInt.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
BigInt.h LibJS: Replace standalone js_bigint() with BigInt::create() 2022-12-07 16:43:06 +00:00
BigIntConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
BigIntConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
BigIntObject.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
BigIntObject.h LibJS: Convert BigIntObject::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
BigIntPrototype.cpp LibJS: Convert standalone construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
BigIntPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
BooleanConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
BooleanConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
BooleanObject.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
BooleanObject.h LibJS: Convert BooleanObject::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
BooleanPrototype.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
BooleanPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
BoundFunction.cpp LibJS: Convert standalone construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
BoundFunction.h LibJS: Convert FunctionObject::internal_construct() to NonnullGCPtr 2022-12-15 06:56:37 -05: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 yearOfWeek calendar methods and properties 2022-12-26 09:30:36 +01:00
Completion.cpp LibJS: Convert Promise::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
Completion.h LibJS+LibWeb: Move the macro to convert ENOMEM to an exception to LibJS 2023-01-08 12:13:15 +01:00
ConsoleObject.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
ConsoleObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
DataView.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
DataView.h LibJS: Convert DataView::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
DataViewConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
DataViewConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
DataViewPrototype.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
DataViewPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
Date.cpp Revert "LibJS: Implement MakeDay without using AK::years_to_days_since…" 2023-01-02 16:19:35 -05:00
Date.h LibJS: Convert Date::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
DateConstructor.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
DateConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
DatePrototype.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
DatePrototype.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
DeclarativeEnvironment.cpp LibJS: Shrink DeclarativeEnvironment bindings vector to fit 2022-12-08 23:36:17 +00:00
DeclarativeEnvironment.h LibJS: Shrink DeclarativeEnvironment bindings vector to fit 2022-12-08 23:36:17 +00:00
ECMAScriptFunctionObject.cpp LibJS: Convert new_function_environment() to NonnullGCPtr 2022-12-16 09:59:56 +01:00
ECMAScriptFunctionObject.h LibJS: Convert FunctionObject::internal_construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
Environment.cpp LibJS: Remove unnecessary GlobalObject pointer from Environment 2022-01-31 16:19:23 +01:00
Environment.h LibJS: Make JS_OBJECT and JS_ENVIRONMENT forward to JS_CELL 2022-08-29 03:24:54 +02:00
EnvironmentCoordinate.h LibJS: Shrink Identifier's environment coordinate cache 2022-11-22 21:13:35 +01:00
Error.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
Error.h LibJS: Convert Error::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
ErrorConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
ErrorConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
ErrorPrototype.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
ErrorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ErrorTypes.cpp LibJS: Emit StringViews for ErrorType instances 2022-07-12 23:11:35 +02:00
ErrorTypes.h LibJS+LibWeb: Move the macro to convert ENOMEM to an exception to LibJS 2023-01-08 12:13:15 +01:00
ExecutionContext.cpp LibJS: Make it possible to visit the edges of an ExecutionContext 2022-12-12 13:58:32 +00:00
ExecutionContext.h LibJS: Make it possible to visit the edges of an ExecutionContext 2022-12-12 13:58:32 +00:00
FinalizationRegistry.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
FinalizationRegistry.h LibJS: Don't use a Handle<Realm> in FinalizationRegistry 2022-09-03 00:36:26 +02:00
FinalizationRegistryConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
FinalizationRegistryConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
FinalizationRegistryPrototype.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
FinalizationRegistryPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
FunctionConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
FunctionConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05: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: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
FunctionObject.h LibJS: Convert FunctionObject::internal_construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
FunctionPrototype.cpp LibJS: Convert BoundFunction::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
FunctionPrototype.h LibJS: Use correct include + object class for Function{Object,Prototype} 2022-09-15 09:45:13 +02:00
GeneratorFunctionConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
GeneratorFunctionConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
GeneratorFunctionPrototype.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
GeneratorFunctionPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
GeneratorObject.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
GeneratorObject.h LibJS: Convert GeneratorObject::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
GeneratorPrototype.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
GeneratorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
GlobalEnvironment.cpp LibJS: Remove unnecessary AST.h include in a handful of cpp files 2022-11-23 16:05:59 +00:00
GlobalEnvironment.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
GlobalObject.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
GlobalObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02: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: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
Intrinsics.h LibJS: Convert Intrinsics::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
Iterator.h LibJS: Add a spec link for Iterator Records 2022-02-18 13:57:34 +00:00
IteratorOperations.cpp LibJS: Convert Object::create() to NonnullGCPtr 2022-12-14 09:59:45 +00: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: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
IteratorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02: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+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
JSONObject.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Map.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
Map.h Everywhere: Remove unused includes of AK/Concepts.h 2023-01-02 20:27:20 -05:00
MapConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
MapConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
MapIterator.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
MapIterator.h LibJS: Convert MapIterator::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
MapIteratorPrototype.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
MapIteratorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
MapPrototype.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
MapPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
MathObject.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
MathObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ModuleEnvironment.cpp LibJS: Remove unnecessary AST.h include in a handful of cpp files 2022-11-23 16:05:59 +00:00
ModuleEnvironment.h LibJS: Visit GC allocated members of ModuleEnvironment 2022-10-06 16:41:36 +02:00
ModuleNamespaceObject.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
ModuleNamespaceObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ModuleRequest.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
NativeFunction.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
NativeFunction.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
NumberConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
NumberConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
NumberObject.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
NumberObject.h LibJS: Convert NumberObject::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
NumberPrototype.cpp LibJS: Convert standalone construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
NumberPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
Object.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
Object.h LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
ObjectConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
ObjectConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
ObjectEnvironment.cpp LibJS: Remove unnecessary AST.h include in a handful of cpp files 2022-11-23 16:05:59 +00:00
ObjectEnvironment.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ObjectPrototype.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
ObjectPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
PrimitiveString.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
PrimitiveString.h LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
PrivateEnvironment.cpp LibJS: Mark entire private environment chains during GC 2021-12-08 10:29:54 +01:00
PrivateEnvironment.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
Promise.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
Promise.h LibJS: Convert Promise::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
PromiseCapability.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
PromiseCapability.h LibJS: Make PromiseCapability GC-allocated 2022-10-02 23:02:27 +01:00
PromiseConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
PromiseConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05: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 LibJS: Convert Promise::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
PromisePrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02: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: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
PromiseResolvingElementFunctions.h LibJS: Convert PromiseFooElementFunction::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
PromiseResolvingFunction.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
PromiseResolvingFunction.h LibJS: Convert PromiseResolvingFunction::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
PropertyAttributes.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
PropertyDescriptor.cpp LibJS: Convert Object::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
PropertyDescriptor.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
PropertyKey.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
PrototypeObject.h LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
ProxyConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
ProxyConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
ProxyObject.cpp LibJS: Convert standalone construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
ProxyObject.h LibJS: Convert FunctionObject::internal_construct() to NonnullGCPtr 2022-12-15 06:56:37 -05: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+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
Reference.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
ReflectObject.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
ReflectObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
RegExpConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
RegExpConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05: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 AK+Everywhere: Make UTF-8 and UTF-32 to UTF-16 converters fallible 2023-01-08 12:13:15 +01:00
RegExpObject.h LibJS: Convert RegExpObject::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
RegExpPrototype.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
RegExpPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
RegExpStringIterator.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
RegExpStringIterator.h LibJS: Convert RegExpStringIterator::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
RegExpStringIteratorPrototype.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
RegExpStringIteratorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
Set.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
Set.h LibJS: Convert Set::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
SetConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
SetConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
SetIterator.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
SetIterator.h LibJS: Convert SetIterator::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
SetIteratorPrototype.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
SetIteratorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
SetPrototype.cpp LibJS: Convert Set::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
SetPrototype.h LibJS: Implement Set.prototype.isDisjointFrom 2022-12-02 13:09:15 +01:00
ShadowRealm.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
ShadowRealm.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
ShadowRealmConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
ShadowRealmConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
ShadowRealmPrototype.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
ShadowRealmPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02: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 LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
StringConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
StringIterator.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
StringIterator.h LibJS: Convert StringIterator::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
StringIteratorPrototype.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
StringIteratorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
StringObject.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
StringObject.h LibJS: Convert StringObject::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
StringOrSymbol.h LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
StringPrototype.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
StringPrototype.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Symbol.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
Symbol.h LibJS: Replace standalone js_symbol() with Symbol::create() 2022-12-07 16:43:06 +00:00
SymbolConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
SymbolConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
SymbolObject.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
SymbolObject.h LibJS: Convert SymbolObject::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
SymbolPrototype.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
SymbolPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ThrowableStringBuilder.cpp LibJS: Add and begin using a completion-compatible string builder 2023-01-05 22:07:44 +01:00
ThrowableStringBuilder.h LibJS: Add and begin using a completion-compatible string builder 2023-01-05 22:07:44 +01:00
TypedArray.cpp LibJS: Convert standalone construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
TypedArray.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
TypedArrayConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
TypedArrayConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
TypedArrayPrototype.cpp LibJS: Remove Object(Object& prototype) footgun 2022-12-14 15:11:57 +01:00
TypedArrayPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
Utf16String.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
Utf16String.h LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
Value.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
Value.h LibJS: Let Utf16String be forward-declared in Value.h 2023-01-08 12:13:15 +01:00
ValueTraits.h LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
VM.cpp LibJS: Convert get_this_environment() to NonnullGCPtr 2022-12-16 09:59:56 +01:00
VM.h LibJS: Move creation of global symbols into Symbol.for() 2022-12-07 09:58:59 +00: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: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
WeakMap.h LibJS: Convert WeakMap::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
WeakMapConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
WeakMapConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
WeakMapPrototype.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
WeakMapPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
WeakRef.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
WeakRef.h LibJS: Convert WeakRef::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
WeakRefConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
WeakRefConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
WeakRefPrototype.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
WeakRefPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
WeakSet.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
WeakSet.h LibJS: Convert WeakSet::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00
WeakSetConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
WeakSetConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
WeakSetPrototype.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
WeakSetPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
WrappedFunction.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
WrappedFunction.h LibJS: Convert WrappedFunction::create() to NonnullGCPtr 2022-12-14 09:59:45 +00:00