ladybird/Userland/Libraries/LibJS/Runtime
Daniel Bertalan c6fafd3e90 AK+Userland: Add generic AK::abs() function and use it
Previously, in LibGFX's `Point` class, calculated distances were passed
to the integer `abs` function, even if the stored type was a float. This
caused the value to unexpectedly be truncated. Luckily, this API was not
used with floating point types, but that can change in the future, so
why not fix it now :^)

Since we are in C++, we can use function overloading to make things
easy, and to automatically use the right version.

This is even better than the LibC/LibM functions, as using a bit of
hackery, they are able to be constant-evaluated. They use compiler
intrinsics, so they do not depend on external code and the compiler can
emit the most optimized code by default.

Since we aren't using the C++ standard library's trick of importing
everything into the `AK` namespace, this `abs` function cannot be
exported to the global namespace, as the names would clash.
2021-07-08 10:11:00 +02:00
..
Temporal LibJS: Add thousands separators to nanoseconds multiplier value 2021-07-07 20:01:08 +01:00
AbstractOperations.cpp LibJS: Add missing spec link to ValidateAndApplyPropertyDescriptor 2021-07-07 10:14:44 +01:00
AbstractOperations.h LibJS: Throw if the trap result of OwnPropertyKeys contains duplicates 2021-07-07 01:38:10 +01:00
Accessor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
AggregateError.cpp LibJS: Make AggregateError inherit from Error 2021-06-23 13:59:17 +01:00
AggregateError.h LibJS: Make AggregateError inherit from Error 2021-06-23 13:59:17 +01:00
AggregateErrorConstructor.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
AggregateErrorConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
AggregateErrorPrototype.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
AggregateErrorPrototype.h LibJS: Implement AggregateError 2021-06-11 18:49:50 +01:00
ArgumentsObject.cpp LibJS: Make Object.prototype.toString() fully spec compliant 2021-07-05 20:21:26 +01:00
ArgumentsObject.h LibJS: Finish implementing mapped arguments exotic objects :^) 2021-07-05 02:38:31 +02:00
Array.cpp LibJS: Stop using a native property for Array lengths 2021-07-07 10:14:44 +01:00
Array.h LibJS: Stop using a native property for Array lengths 2021-07-07 10:14:44 +01:00
ArrayBuffer.cpp LibWeb: Set a detach key for ArrayBuffers returned from WASM 2021-06-11 13:38:25 +01:00
ArrayBuffer.h LibJS: Rewrite most of Object for spec compliance :^) 2021-07-04 22:07:36 +01:00
ArrayBufferConstructor.cpp LibJS: Reorder and add missing name & length properties to Built-ins 2021-07-08 01:45:15 +01:00
ArrayBufferConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
ArrayBufferPrototype.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
ArrayBufferPrototype.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
ArrayConstructor.cpp LibJS: Reorder and add missing name & length properties to Built-ins 2021-07-08 01:45:15 +01:00
ArrayConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
ArrayIterator.cpp LibJS: Consistently make prototype the last argument in Object ctors 2021-06-20 12:12:39 +02:00
ArrayIterator.h LibJS: Consistently make prototype the last argument in Object ctors 2021-06-20 12:12:39 +02:00
ArrayIteratorPrototype.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
ArrayIteratorPrototype.h Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
ArrayPrototype.cpp LibJS: Use as_object instead of as_array in flatten_into_array 2021-07-07 21:24:26 +01:00
ArrayPrototype.h LibJS: Implement Array.prototype.copyWithin generically 2021-06-14 09:57:06 +01:00
BigInt.cpp LibJS: Split out NumberToBigInt from the BigInt constructor 2021-07-08 01:25:49 +01:00
BigInt.h LibJS: Split out NumberToBigInt from the BigInt constructor 2021-07-08 01:25:49 +01:00
BigIntConstructor.cpp LibJS: Reorder and add missing name & length properties to Built-ins 2021-07-08 01:45:15 +01:00
BigIntConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
BigIntObject.cpp Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
BigIntObject.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
BigIntPrototype.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
BigIntPrototype.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
BooleanConstructor.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
BooleanConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
BooleanObject.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
BooleanObject.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
BooleanPrototype.cpp LibJS: Don't repeat attributes in {Boolean,Symbol}Prototype 2021-06-13 21:33:41 +01:00
BooleanPrototype.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
BoundFunction.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
BoundFunction.h LibJS: Drop "Record" suffix from all the *Environment record classes 2021-07-01 12:28:57 +02:00
CommonPropertyNames.h LibJS: Implement Date.prototype.toTemporalInstant() 2021-07-08 01:25:49 +01:00
ConsoleObject.cpp LibJS: Remove the default length & attributes from define_native_* 2021-07-06 14:20:30 +01:00
ConsoleObject.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DataView.cpp LibJS: Consistently make prototype the last argument in Object ctors 2021-06-20 12:12:39 +02:00
DataView.h LibJS: Consistently make prototype the last argument in Object ctors 2021-06-20 12:12:39 +02:00
DataViewConstructor.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
DataViewConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
DataViewPrototype.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
DataViewPrototype.h LibJS: Add all of the DataView.prototype.set* methods 2021-06-14 01:45:04 +01:00
Date.cpp LibJS: Use OrdinaryCreateFromConstructor() in a bunch of constructors 2021-06-20 12:12:39 +02:00
Date.h LibJS: Check dates are below the time_clip threshold 2021-06-06 19:14:11 +01:00
DateConstructor.cpp LibJS: Reorder and add missing name & length properties to Built-ins 2021-07-08 01:45:15 +01:00
DateConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
DatePrototype.cpp LibJS: Implement Date.prototype.toTemporalInstant() 2021-07-08 01:25:49 +01:00
DatePrototype.h LibJS: Implement Date.prototype.toTemporalInstant() 2021-07-08 01:25:49 +01:00
DeclarativeEnvironment.cpp LibJS: Make Environment::put_into_environment() return a success bool 2021-07-02 00:26:31 +02:00
DeclarativeEnvironment.h LibJS: Make Environment::put_into_environment() return a success bool 2021-07-02 00:26:31 +02:00
Environment.cpp LibJS: Drop "Record" suffix from all the *Environment record classes 2021-07-01 12:28:57 +02:00
Environment.h LibJS: Make Environment::put_into_environment() return a success bool 2021-07-02 00:26:31 +02:00
Error.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
Error.h LibJS: Move install_error_cause() from Object to Error 2021-06-26 19:06:55 +01:00
ErrorConstructor.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
ErrorConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
ErrorPrototype.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
ErrorPrototype.h LibJS: Rename JS_ENUMERATE_{ERROR_SUBCLASSES => NATIVE_ERRORS} 2021-06-11 18:49:50 +01:00
ErrorTypes.cpp Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
ErrorTypes.h LibJS: Extract RegExp.prototype.exec to RegExpExec and RegExpBuiltinExec 2021-07-08 00:01:20 +01:00
Exception.cpp LibJS: Rename CallFrame => ExecutionContext 2021-06-24 19:28:00 +02:00
Exception.h LibJS: Avoid allocations in the Exception constructor 2021-06-03 14:47:15 +01:00
FinalizationRegistry.cpp LibJS: Fix typo "sweeped" => "swept" everywhere 2021-06-27 22:40:49 +02:00
FinalizationRegistry.h LibJS: Fix typo "sweeped" => "swept" everywhere 2021-06-27 22:40:49 +02:00
FinalizationRegistryConstructor.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
FinalizationRegistryConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
FinalizationRegistryPrototype.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
FinalizationRegistryPrototype.h LibJS: Add all of the FinalizationRegistry.prototype methods 2021-06-15 23:59:21 +01:00
FunctionConstructor.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
FunctionConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
FunctionEnvironment.cpp LibJS: Make FunctionObject's m_home_object an Object*, not Value 2021-07-05 13:53:30 +01:00
FunctionEnvironment.h LibJS: Drop "Record" suffix from all the *Environment record classes 2021-07-01 12:28:57 +02:00
FunctionObject.cpp LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
FunctionObject.h LibJS: Make FunctionObject's m_home_object an Object*, not Value 2021-07-05 13:53:30 +01:00
FunctionPrototype.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
FunctionPrototype.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
GeneratorFunctionConstructor.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
GeneratorFunctionConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
GeneratorFunctionPrototype.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
GeneratorFunctionPrototype.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
GeneratorObject.cpp LibJS: Remove the non-standard put helper and replace it's usages 2021-07-06 14:20:30 +01:00
GeneratorObject.h LibJS: Drop "Record" suffix from all the *Environment record classes 2021-07-01 12:28:57 +02:00
GeneratorObjectPrototype.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
GeneratorObjectPrototype.h LibJS: Add the remaining generator objects 2021-06-19 00:04:57 +01:00
GlobalEnvironment.cpp LibJS: Rewrite most of Object for spec compliance :^) 2021-07-04 22:07:36 +01:00
GlobalEnvironment.h LibJS: Make Environment::put_into_environment() return a success bool 2021-07-02 00:26:31 +02:00
GlobalObject.cpp LibJS: Start implementing Temporal.Instant 2021-07-07 19:00:42 +01:00
GlobalObject.h LibJS: Add preparation for Temporal constructors and prototypes 2021-07-07 00:42:01 +01:00
IndexedProperties.cpp LibJS: Stop using a native property for Array lengths 2021-07-07 10:14:44 +01:00
IndexedProperties.h LibJS: Stop using a native property for Array lengths 2021-07-07 10:14:44 +01:00
IteratorOperations.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
IteratorOperations.h LibJS: Add the IteratorStep abstract iterator operation 2021-07-04 00:51:43 +01:00
IteratorPrototype.cpp LibJS: Change PropertyName(Symbol*) => PropertyName(Symbol&) 2021-06-25 22:01:23 +01:00
IteratorPrototype.h Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
JobCallback.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
JSONObject.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
JSONObject.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
Map.cpp LibJS: Add the Map built-in object 2021-06-13 00:33:18 +01:00
Map.h LibJS: Use OrderedHashMap instead of HashMap in the Map built-in 2021-06-15 23:51:20 +01:00
MapConstructor.cpp LibJS: Reorder and add missing name & length properties to Built-ins 2021-07-08 01:45:15 +01:00
MapConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
MapIterator.cpp LibJS: Consistently make prototype the last argument in Object ctors 2021-06-20 12:12:39 +02:00
MapIterator.h LibJS: Consistently make prototype the last argument in Object ctors 2021-06-20 12:12:39 +02:00
MapIteratorPrototype.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
MapIteratorPrototype.h LibJS: Add the MapIterator built-in and the key/values/entries methods 2021-06-13 00:33:18 +01:00
MapPrototype.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
MapPrototype.h LibJS: Add the MapIterator built-in and the key/values/entries methods 2021-06-13 00:33:18 +01:00
MarkedValueList.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
MarkedValueList.h AK: Rename Vector::append(Vector) => Vector::extend(Vector) 2021-06-12 13:24:45 +02:00
MathObject.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
MathObject.h LibJS: Add Math.imul() 2021-06-05 14:56:58 +01:00
NativeFunction.cpp LibJS: Drop "Record" suffix from all the *Environment record classes 2021-07-01 12:28:57 +02:00
NativeFunction.h LibJS: Drop "Record" suffix from all the *Environment record classes 2021-07-01 12:28:57 +02:00
NumberConstructor.cpp LibJS: Reorder and add missing name & length properties to Built-ins 2021-07-08 01:45:15 +01:00
NumberConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
NumberObject.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
NumberObject.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
NumberPrototype.cpp LibJS: Add the Number.prototype.toFixed method 2021-06-19 16:13:59 +01:00
NumberPrototype.h LibJS: Add the Number.prototype.toFixed method 2021-06-19 16:13:59 +01:00
Object.cpp LibJS: Remove the NativeProperty mechanism from LibJS 2021-07-07 21:47:22 +01:00
Object.h LibJS: Remove the NativeProperty mechanism from LibJS 2021-07-07 21:47:22 +01:00
ObjectConstructor.cpp LibJS: Reorder and add missing name & length properties to Built-ins 2021-07-08 01:45:15 +01:00
ObjectConstructor.h LibJS: Implement Object.getOwnPropertyDescriptors() 2021-07-06 18:41:15 +01:00
ObjectEnvironment.cpp LibJS: Remove the non-standard put helper and replace it's usages 2021-07-06 14:20:30 +01:00
ObjectEnvironment.h LibJS: Make Environment::put_into_environment() return a success bool 2021-07-02 00:26:31 +02:00
ObjectPrototype.cpp LibJS: Make Object.prototype.toString() fully spec compliant 2021-07-05 20:21:26 +01:00
ObjectPrototype.h LibJS: Make ObjectPrototype an immutable prototype exotic object 2021-07-05 00:53:57 +01:00
OrdinaryFunctionObject.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
OrdinaryFunctionObject.h LibJS: Remove usage of define_native_property in OrdinaryFunctionObject 2021-07-05 17:26:31 +01:00
PrimitiveString.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
PrimitiveString.h LibJS: Move Cell.{cpp,h} from Runtime/ to Heap/ 2021-05-17 19:53:00 +02:00
Promise.cpp LibJS: Reorder and add missing name & length properties to Built-ins 2021-07-08 01:45:15 +01:00
Promise.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
PromiseConstructor.cpp LibJS: Reorder and add missing name & length properties to Built-ins 2021-07-08 01:45:15 +01:00
PromiseConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
PromiseJobs.cpp LibJS: Add ECMA-262 section/title/URL comments almost everywhere 2021-06-13 00:33:28 +01:00
PromiseJobs.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
PromisePrototype.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
PromisePrototype.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
PromiseReaction.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
PromiseReaction.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
PromiseResolvingFunction.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
PromiseResolvingFunction.h LibJS: Stop qualifying AK::Function 2021-06-27 22:40:49 +02:00
PropertyAttributes.h LibJS: Rewrite most of Object for spec compliance :^) 2021-07-04 22:07:36 +01:00
PropertyDescriptor.cpp LibJS: Rewrite most of Object for spec compliance :^) 2021-07-04 22:07:36 +01:00
PropertyDescriptor.h LibJS: Rewrite most of Object for spec compliance :^) 2021-07-04 22:07:36 +01:00
PropertyName.h LibJS: Add a way of constructing PropertyName with values above 2**32-1 2021-07-07 21:24:26 +01:00
ProxyConstructor.cpp LibJS: Reorder and add missing name & length properties to Built-ins 2021-07-08 01:45:15 +01:00
ProxyConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
ProxyObject.cpp LibJS: Throw if the trap result of OwnPropertyKeys contains duplicates 2021-07-07 01:38:10 +01:00
ProxyObject.h LibJS: Rewrite most of Object for spec compliance :^) 2021-07-04 22:07:36 +01:00
Reference.cpp LibJS: Use the direct formatter of PropertyName instead of via to_value 2021-07-05 16:04:52 +01:00
Reference.h LibJS: Drop "Record" suffix from all the *Environment record classes 2021-07-01 12:28:57 +02:00
ReflectObject.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
ReflectObject.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
RegExpConstructor.cpp LibJS: Reorder and add missing name & length properties to Built-ins 2021-07-08 01:45:15 +01:00
RegExpConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
RegExpObject.cpp LibJS: Stop using a native property for RegExp's lastIndex property 2021-07-07 21:47:22 +01:00
RegExpObject.h LibJS: Stop using a native property for RegExp's lastIndex property 2021-07-07 21:47:22 +01:00
RegExpPrototype.cpp LibJS: Implement RegExp.prototype [ @@search ] 2021-07-08 00:01:20 +01:00
RegExpPrototype.h LibJS: Implement RegExp.prototype [ @@search ] 2021-07-08 00:01:20 +01:00
Set.cpp LibJS: Stop inheriting from Set in SetPrototype 2021-06-09 18:01:19 +01:00
Set.h LibJS: Use OrderedHashTable instead of HashTable in the Set built-in 2021-06-15 23:51:20 +01:00
SetConstructor.cpp LibJS: Reorder and add missing name & length properties to Built-ins 2021-07-08 01:45:15 +01:00
SetConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
SetIterator.cpp LibJS: Consistently make prototype the last argument in Object ctors 2021-06-20 12:12:39 +02:00
SetIterator.h LibJS: Consistently make prototype the last argument in Object ctors 2021-06-20 12:12:39 +02:00
SetIteratorPrototype.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
SetIteratorPrototype.h LibJS: Add the SetIterator built-in and Set.prototype.{values, entries} 2021-06-09 11:48:04 +01:00
SetPrototype.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
SetPrototype.h LibJS: Stop inheriting from Set in SetPrototype 2021-06-09 18:01:19 +01:00
Shape.cpp LibJS: Rewrite most of Object for spec compliance :^) 2021-07-04 22:07:36 +01:00
Shape.h LibJS: Avoid lots of string-to-int during global object construction 2021-06-13 19:11:29 +02:00
StringConstructor.cpp LibJS: Reorder and add missing name & length properties to Built-ins 2021-07-08 01:45:15 +01:00
StringConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
StringIterator.cpp LibJS: Consistently make prototype the last argument in Object ctors 2021-06-20 12:12:39 +02:00
StringIterator.h LibJS: Consistently make prototype the last argument in Object ctors 2021-06-20 12:12:39 +02:00
StringIteratorPrototype.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
StringIteratorPrototype.h Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
StringObject.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
StringObject.h LibJS: Rewrite most of Object for spec compliance :^) 2021-07-04 22:07:36 +01:00
StringOrSymbol.h LibJS: Make StringOrSymbol always be FlyString in the string case 2021-06-13 19:11:29 +02:00
StringPrototype.cpp LibJS: Replace strings with the search value coerced to a string 2021-07-06 22:33:17 +01:00
StringPrototype.h LibJS: Implement most of String.prototype.replaceAll 2021-07-05 01:10:43 +01:00
Symbol.cpp LibJS: Store and return undefined Symbol description 2021-06-15 18:31:52 +01:00
Symbol.h LibJS: Store and return undefined Symbol description 2021-06-15 18:31:52 +01:00
SymbolConstructor.cpp LibJS: Reorder and add missing name & length properties to Built-ins 2021-07-08 01:45:15 +01:00
SymbolConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
SymbolObject.cpp Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
SymbolObject.h LibJS: Store and return undefined Symbol description 2021-06-15 18:31:52 +01:00
SymbolPrototype.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
SymbolPrototype.h LibJS: Implement String.prototype[@@toPrimitive]() 2021-06-06 19:34:43 +02:00
TemporaryClearException.h LibJS: Use linusg@serenityos.org for my new copyright headers, too 2021-04-24 20:16:31 +02:00
TypedArray.cpp LibJS: Reorder and add missing name & length properties to Built-ins 2021-07-08 01:45:15 +01:00
TypedArray.h LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
TypedArrayConstructor.cpp LibJS: Reorder and add missing name & length properties to Built-ins 2021-07-08 01:45:15 +01:00
TypedArrayConstructor.h LibJS: Add the TypedArray.from() method 2021-07-05 00:27:03 +01:00
TypedArrayPrototype.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
TypedArrayPrototype.h LibJS: Add %TypedArray%.prototype.reverse 2021-07-06 13:40:27 +01:00
Value.cpp AK+Userland: Add generic AK::abs() function and use it 2021-07-08 10:11:00 +02:00
Value.h LibJS: Remove the NativeProperty mechanism from LibJS 2021-07-07 21:47:22 +01:00
VM.cpp LibJS: Make FunctionExpression more spec-compliant 2021-07-07 23:31:51 +01:00
VM.h LibJS: Improve ResolveBinding + add GetIdentifierReference 2021-07-02 22:22:21 +02:00
WeakContainer.h LibJS: Fix typo "sweeped" => "swept" everywhere 2021-06-27 22:40:49 +02:00
WeakMap.cpp LibJS: Fix typo "sweeped" => "swept" everywhere 2021-06-27 22:40:49 +02:00
WeakMap.h LibJS: Fix typo "sweeped" => "swept" everywhere 2021-06-27 22:40:49 +02:00
WeakMapConstructor.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
WeakMapConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
WeakMapPrototype.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
WeakMapPrototype.h LibJS: Add all of the WeakMap.prototype methods (delete, get, has, set) 2021-06-12 10:44:28 +01:00
WeakRef.cpp LibJS: Fix typo "sweeped" => "swept" everywhere 2021-06-27 22:40:49 +02:00
WeakRef.h LibJS: Fix typo "sweeped" => "swept" everywhere 2021-06-27 22:40:49 +02:00
WeakRefConstructor.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
WeakRefConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
WeakRefPrototype.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
WeakRefPrototype.h LibJS: Add the WeakRef.prototype.deref method 2021-06-12 18:39:23 +01:00
WeakSet.cpp LibJS: Fix typo "sweeped" => "swept" everywhere 2021-06-27 22:40:49 +02:00
WeakSet.h LibJS: Fix typo "sweeped" => "swept" everywhere 2021-06-27 22:40:49 +02:00
WeakSetConstructor.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
WeakSetConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
WeakSetPrototype.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
WeakSetPrototype.h LibJS: Add all of the WeakSet.prototype methods (add, delete, has) 2021-06-09 21:52:25 +01:00