1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 11:05:07 +00:00
serenity/Userland/Libraries/LibJS/Tests/builtins
Luke bc540de0af LibJS: Pass in actual_delete_count to removed array creation in splice
More specifically, Array.prototype.splice. Additionally adds a missing
exception check to the array creation and a link to the spec.

Fixes create-non-array-invalid-len.js in the splice tests in test262.
This test timed out instead of throwing an "Invalid array length"
exception.
2021-06-10 10:04:06 +01:00
..
Array LibJS: Pass in actual_delete_count to removed array creation in splice 2021-06-10 10:04:06 +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: Add Date.prototype.setTime() 2021-06-06 19:14:11 +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: Add missing cyclic prototype check to Object.setPrototypeOf() 2021-06-07 22:56:16 +01:00
Promise LibJS: Add @@toStringTag to Promise.prototype 2021-06-08 19:13:14 +01:00
Proxy LibJS: Implement Proxy.revocable() 2021-06-08 23:53:13 +02:00
Reflect LibJS: Use create_list_from_array_like() in Reflect.{apply,construct}() 2021-06-09 23:46:37 +01:00
RegExp LibJS: Bring back runtime validation of RegExp flags 2021-05-11 22:47:14 +01:00
Set LibJS: Add the SetIterator built-in and Set.prototype.{values, entries} 2021-06-09 11:48:04 +01:00
String LibJS: Implement String.prototype.substr according to the spec 2021-04-15 08:38:19 +02:00
Symbol LibJS: Implement String.prototype[@@toPrimitive]() 2021-06-06 19:34:43 +02:00
TypedArray LibJS: Expose TypedArray.prototype.byteOffset 2021-05-21 22:52:35 +01:00
WeakSet LibJS: Notify WeakSets when heap cells are sweeped 2021-06-09 21:52:25 +01:00