1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00
serenity/Userland/Libraries/LibJS/Runtime
Linus Groh f27bc56e5e LibJS: Capture promise capability in new_promise_capability() executor
This is how the spec suggests implementing this; we need to be slightly
more verbose as our PromiseCapability implementation cannot hold
arbitrary JS values.

Unfortunately it makes the error message slightly more ambiguous as we
no longer expose the non-function value to the outer scope (we could!),
but at least we don't UAF the stack allocated values anymore :^)
2022-10-02 23:02:27 +01:00
..
Intl LibJS: Change default time display options to "always" for digital style 2022-09-22 14:39:24 +01:00
Temporal LibJS: Add missing includes 2022-09-18 13:27:24 -04:00
AbstractOperations.cpp LibJS: Fix incorrect check in ValidateAndApplyPropertyDescriptor 2022-09-02 22:47:28 +01:00
AbstractOperations.h LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
Accessor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
AggregateError.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
AggregateError.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
AggregateErrorConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
AggregateErrorConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
AggregateErrorPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
AggregateErrorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ArgumentsObject.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
ArgumentsObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
Array.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
Array.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ArrayBuffer.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
ArrayBuffer.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ArrayBufferConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
ArrayBufferConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ArrayBufferPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
ArrayBufferPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ArrayConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
ArrayConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ArrayIterator.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
ArrayIterator.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ArrayIteratorPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
ArrayIteratorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ArrayPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
ArrayPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
AsyncFromSyncIterator.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
AsyncFromSyncIterator.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
AsyncFromSyncIteratorPrototype.cpp LibJS: Make PromiseCapability GC-allocated 2022-10-02 23:02:27 +01:00
AsyncFromSyncIteratorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
AsyncFunctionConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
AsyncFunctionConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
AsyncFunctionDriverWrapper.cpp LibJS: Make PromiseCapability GC-allocated 2022-10-02 23:02:27 +01:00
AsyncFunctionDriverWrapper.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
AsyncFunctionPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
AsyncFunctionPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
AsyncGenerator.cpp LibJS: Make PromiseCapability GC-allocated 2022-10-02 23:02:27 +01:00
AsyncGenerator.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
AsyncGeneratorFunctionConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
AsyncGeneratorFunctionConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
AsyncGeneratorFunctionPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
AsyncGeneratorFunctionPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
AsyncGeneratorPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01: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: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
AsyncIteratorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
AtomicsObject.cpp LibJS: Supress an unused bind when wrapping float atomic operations 2022-09-16 05:39:28 +00:00
AtomicsObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
BigInt.cpp LibCrypto+LibJS: Remove the create_from methods from BigInteger 2022-08-26 19:18:26 +01:00
BigInt.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
BigIntConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
BigIntConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
BigIntObject.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
BigIntObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
BigIntPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
BigIntPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
BooleanConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
BooleanConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
BooleanObject.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
BooleanObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
BooleanPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
BooleanPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
BoundFunction.cpp LibJS: Replace GlobalObject with VM in common AOs [Part 18/19] 2022-08-23 13:58:30 +01:00
BoundFunction.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
CanonicalIndex.h LibJS: Add missing include for 'u32' to CanonicalIndex.h 2022-02-14 23:02:56 +00:00
ClassFieldDefinition.h LibJS: Include Environment.h directly in ClassFieldDefinition.h 2022-10-01 15:36:20 +01:00
CommonPropertyNames.h LibJS: Hook up the 'v' (unicodeSets) RegExp flag 2022-07-20 21:25:59 +01:00
Completion.cpp LibJS: Move PromiseCapability into its own cpp/h file 2022-10-02 23:02:27 +01:00
Completion.h LibJS: Replace GlobalObject with VM in remaining AOs [Part 19/19] 2022-08-23 13:58:30 +01:00
ConsoleObject.cpp LibJS: Create Console using a Realm instead of a VM 2022-09-21 20:03:49 +01:00
ConsoleObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
DataView.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
DataView.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
DataViewConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
DataViewConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
DataViewPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
DataViewPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
Date.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
Date.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
DateConstructor.cpp LibJS: Parse date strings like "9/17/2022" 2022-09-17 18:53:14 +02:00
DateConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
DatePrototype.cpp LibLocale: Move locale source files to the LibLocale folder 2022-09-05 14:37:16 -04:00
DatePrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
DeclarativeEnvironment.cpp LibJS: Make DeclarativeEnvironment based on bindings instead of indices 2022-09-02 02:07:37 +01:00
DeclarativeEnvironment.h LibJS: Add missing includes 2022-09-18 13:27:24 -04:00
ECMAScriptFunctionObject.cpp LibJS: Make PromiseCapability GC-allocated 2022-10-02 23:02:27 +01:00
ECMAScriptFunctionObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02: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: Add missing header in EnvironmentCoordinate.h 2021-10-20 09:20:18 +01:00
Error.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
Error.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ErrorConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
ErrorConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ErrorPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01: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: Allow out-of-order plural ranges to be formatted 2022-07-26 10:46:08 -07:00
ExecutionContext.h LibJS: Make Script and Module GC-allocated 2022-09-06 00:27:09 +02:00
FinalizationRegistry.cpp LibJS: Add Visitor::visit(GCPtr<T>) and Visitor::visit(NonnullGCPtr<T>) 2022-10-02 23:02:27 +01:00
FinalizationRegistry.h LibJS: Don't use a Handle<Realm> in FinalizationRegistry 2022-09-03 00:36:26 +02:00
FinalizationRegistryConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
FinalizationRegistryConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
FinalizationRegistryPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
FinalizationRegistryPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
FunctionConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
FunctionConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
FunctionEnvironment.cpp LibJS: Replace GlobalObject with VM in Environment AOs [Part 5/19] 2022-08-23 13:58:30 +01:00
FunctionEnvironment.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
FunctionKind.h LibJS: Rename FunctionKind::{Regular => Normal} 2022-01-16 01:54:48 +01:00
FunctionObject.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
FunctionObject.h LibJS: Use correct include + object class for Function{Object,Prototype} 2022-09-15 09:45:13 +02:00
FunctionPrototype.cpp LibJS: Use correct include + object class for Function{Object,Prototype} 2022-09-15 09:45:13 +02:00
FunctionPrototype.h LibJS: Use correct include + object class for Function{Object,Prototype} 2022-09-15 09:45:13 +02:00
GeneratorFunctionConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
GeneratorFunctionConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
GeneratorFunctionPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
GeneratorFunctionPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
GeneratorObject.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
GeneratorObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
GeneratorPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
GeneratorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
GlobalEnvironment.cpp LibJS: Let NewGlobalEnvironment take a plain Object 2022-08-28 16:36:56 +01:00
GlobalEnvironment.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
GlobalObject.cpp LibJS: Implement SetDefaultGlobalBindings as a standalone function 2022-08-28 19:34:10 +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: Add JSON.stringify function to the intrinsics 2022-09-27 14:56:17 +01:00
Intrinsics.h LibJS: Add JSON.stringify function to the intrinsics 2022-09-27 14:56:17 +01:00
Iterator.h LibJS: Add a spec link for Iterator Records 2022-02-18 13:57:34 +00:00
IteratorOperations.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +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: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
IteratorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
JobCallback.h LibJS: Replace GlobalObject with VM in common AOs [Part 18/19] 2022-08-23 13:58:30 +01:00
JSONObject.cpp LibJS: Do not assume that IsArray means the object type is an Array 2022-09-15 09:45:13 +02:00
JSONObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
Map.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
Map.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
MapConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
MapConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
MapIterator.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
MapIterator.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
MapIteratorPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
MapIteratorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
MapPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
MapPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
MathObject.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
MathObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ModuleEnvironment.cpp LibJS: Make indirect bindings of module behave like normal bindings 2022-09-02 02:07:37 +01:00
ModuleEnvironment.h LibJS: Make indirect bindings of module behave like normal bindings 2022-09-02 02:07:37 +01:00
ModuleNamespaceObject.cpp LibJS: Put exports before symbols in keys of module namespace object 2022-09-02 02:07:37 +01:00
ModuleNamespaceObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
NativeFunction.cpp LibJS: Make JS::NativeFunction use JS::SafeFunction internally 2022-09-27 14:56:17 +01:00
NativeFunction.h LibJS: Make JS::NativeFunction use JS::SafeFunction internally 2022-09-27 14:56:17 +01:00
NumberConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
NumberConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
NumberObject.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
NumberObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
NumberPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
NumberPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
Object.cpp LibJS: Remove Shape::global_object() and Object::global_object() 2022-08-28 16:36:56 +01:00
Object.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ObjectConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
ObjectConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ObjectEnvironment.cpp LibJS: Replace GlobalObject with VM in Environment AOs [Part 5/19] 2022-08-23 13:58:30 +01:00
ObjectEnvironment.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ObjectPrototype.cpp LibJS: Pass Realm to define_native_{accessor,function}() 2022-08-23 13:58:30 +01:00
ObjectPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
PrimitiveString.cpp LibJS: Replace GlobalObject with VM in remaining AOs [Part 19/19] 2022-08-23 13:58:30 +01:00
PrimitiveString.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02: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: Make PromiseCapability GC-allocated 2022-10-02 23:02:27 +01:00
Promise.h LibJS: Make PromiseCapability GC-allocated 2022-10-02 23:02:27 +01:00
PromiseCapability.cpp LibJS: Capture promise capability in new_promise_capability() executor 2022-10-02 23:02:27 +01:00
PromiseCapability.h LibJS: Make PromiseCapability GC-allocated 2022-10-02 23:02:27 +01:00
PromiseConstructor.cpp LibJS: Make PromiseCapability GC-allocated 2022-10-02 23:02:27 +01:00
PromiseConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
PromiseJobs.cpp LibJS: Make PromiseCapability GC-allocated 2022-10-02 23:02:27 +01: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: Move PromiseCapability into its own cpp/h file 2022-10-02 23:02:27 +01:00
PromisePrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
PromiseReaction.cpp LibJS: Make PromiseCapability GC-allocated 2022-10-02 23:02:27 +01:00
PromiseReaction.h LibJS: Make PromiseCapability GC-allocated 2022-10-02 23:02:27 +01:00
PromiseResolvingElementFunctions.cpp LibJS: Make PromiseCapability GC-allocated 2022-10-02 23:02:27 +01:00
PromiseResolvingElementFunctions.h LibJS: Make PromiseCapability GC-allocated 2022-10-02 23:02:27 +01:00
PromiseResolvingFunction.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
PromiseResolvingFunction.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
PropertyAttributes.h Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
PropertyDescriptor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
PropertyDescriptor.h LibJS: Replace GlobalObject with VM in remaining AOs [Part 19/19] 2022-08-23 13:58:30 +01:00
PropertyKey.h LibJS: Store symbols in a Handle inside PropertyKey 2022-10-01 15:36:20 +01:00
PrototypeObject.h LibJS: Replace GlobalObject with VM in Value AOs [Part 4/19] 2022-08-23 13:58:30 +01:00
ProxyConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
ProxyConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ProxyObject.cpp LibJS: Assert Proxy target is a function in [[Call]] and [[Construct]] 2022-09-02 22:44:44 +01:00
ProxyObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
Realm.cpp LibWeb+LibJS: Let JS::Realm::HostDefined objects mark things during GC 2022-09-06 00:27:09 +02:00
Realm.h LibWeb+LibJS: Let JS::Realm::HostDefined objects mark things during GC 2022-09-06 00:27:09 +02:00
Reference.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
Reference.h LibJS: Replace GlobalObject with VM in Reference AOs [Part 6/19] 2022-08-23 13:58:30 +01:00
ReflectObject.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
ReflectObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
RegExpConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
RegExpConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
RegExpObject.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
RegExpObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
RegExpPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
RegExpPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
RegExpStringIterator.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
RegExpStringIterator.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
RegExpStringIteratorPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
RegExpStringIteratorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
Set.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
Set.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
SetConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
SetConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
SetIterator.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
SetIterator.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
SetIteratorPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
SetIteratorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
SetPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
SetPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ShadowRealm.cpp LibJS: Make PromiseCapability GC-allocated 2022-10-02 23:02:27 +01:00
ShadowRealm.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ShadowRealmConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
ShadowRealmConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
ShadowRealmPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
ShadowRealmPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
Shape.cpp LibJS: Remove Shape::global_object() and Object::global_object() 2022-08-28 16:36:56 +01:00
Shape.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
StringConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
StringConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
StringIterator.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
StringIterator.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
StringIteratorPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
StringIteratorPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
StringObject.cpp LibJS+LibWeb: Replace GlobalObject with Realm in Heap::allocate<T>() 2022-08-23 13:58:30 +01:00
StringObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
StringOrSymbol.h LibJS: Make StringOrSymbol always be FlyString in the string case 2021-06-13 19:11:29 +02:00
StringPrototype.cpp LibJS: Implement normative change in String.prototype.substr 2022-09-21 16:59:58 +01:00
StringPrototype.h LibJS: Add missing includes 2022-09-18 13:27:24 -04:00
Symbol.cpp LibJS+LibWeb: Replace GlobalObject with Realm in Heap::allocate<T>() 2022-08-23 13:58:30 +01:00
Symbol.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
SymbolConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
SymbolConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
SymbolObject.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
SymbolObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
SymbolPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
SymbolPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
TypedArray.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
TypedArray.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
TypedArrayConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
TypedArrayConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
TypedArrayPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
TypedArrayPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
Utf16String.cpp Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2022-01-31 18:23:22 +00:00
Utf16String.h Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2022-01-31 18:23:22 +00:00
Value.cpp LibJS: Make string_to_bigint() a standalone function 2022-08-30 10:30:54 +01:00
Value.h LibJS: Add Value(GCPtr<T>) and Value(NonnullGCPtr<T>) constructors 2022-10-02 23:02:27 +01:00
ValueTraits.h LibJS: Normalize NaN values in Sets and Maps 2022-04-02 14:15:43 +01:00
VM.cpp LibJS: Make PromiseCapability GC-allocated 2022-10-02 23:02:27 +01:00
VM.h LibJS: Make PromiseCapability GC-allocated 2022-10-02 23:02:27 +01: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: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
WeakMap.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
WeakMapConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
WeakMapConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
WeakMapPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
WeakMapPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
WeakRef.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
WeakRef.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
WeakRefConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
WeakRefConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
WeakRefPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
WeakRefPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
WeakSet.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
WeakSet.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
WeakSetConstructor.cpp LibJS: Do not invoke Cell::vm in constructors before Cell is constructed 2022-09-15 09:45:13 +02:00
WeakSetConstructor.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
WeakSetPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
WeakSetPrototype.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
WrappedFunction.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
WrappedFunction.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00