1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:28:12 +00:00
serenity/Userland/Libraries/LibJS/Tests/builtins
Linus Groh d255e6892b LibJS: Update NumberPrototype's this_number_value() to take a Value
This is now about as close to the spec as it gets - instead of querying
the |this| value inside of the function, we now pass it in from the
outside.
Also get rid of the oddly specific error messages, they're nice but
pretty inconsistent with most others. Let's prefer consistency and
simplicity for now.

Other than that, no functionality change.
2021-06-06 19:34:43 +02:00
..
Array LibJS/Tests: Use hasOwnProperty() for duplicate test check 2021-05-05 15:58:53 +01:00
ArrayBuffer LibJS: ArrayBuffer.prototype.slice 2021-04-03 16:24:44 +02:00
BigInt LibJS: Add left shift & right shift operator support for BigIntegers 2021-05-31 19:50:29 +01:00
Boolean Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Date LibJS Date: Added "Invalid Date". 2021-03-22 20:58:22 +01:00
Error LibJS: Add name and message properties to NativeError prototypes 2021-04-14 10:11:04 +02:00
Function LibJS: Change non-ScriptFunction source string to "[native code]" 2021-03-14 19:22:16 +01:00
functions LibJS: Add the global escape() & unescape() methods 2021-06-05 18:55:08 +01:00
Infinity Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
JSON LibJS: Dont try to serialize symbol-keyed properties 2021-04-16 19:22:29 +02:00
Math LibJS: Correctly handle mixing +0 and -0 in Math.{min,max}() 2021-04-23 20:51:48 +02:00
NaN Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Number LibJS: Update NumberPrototype's this_number_value() to take a Value 2021-06-06 19:34:43 +02:00
Object LibJS: Implement Object.hasOwn() :^) 2021-05-18 11:18:19 +02:00
Promise LibJS: Add initial support for Promises 2021-04-02 10:47:40 +02:00
Proxy LibJS/Tests: Rename function parameter from 'arguments' to 'arguments_' 2021-05-10 11:54:01 +01:00
Reflect LibJS: Let Object::get_own_properties() return both strings and symbols 2021-04-05 19:30:30 +02:00
RegExp LibJS: Bring back runtime validation of RegExp flags 2021-05-11 22:47:14 +01:00
String LibJS: Implement String.prototype.substr according to the spec 2021-04-15 08:38:19 +02:00
Symbol Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
TypedArray LibJS: Expose TypedArray.prototype.byteOffset 2021-05-21 22:52:35 +01:00