ladybird/Userland/Libraries/LibJS/Tests/builtins/Array
Robert Stefanic e26cfd313e LibJS: Prevent stack overflow in flatten_into_array()
The check for stack space in VM from push_execution_context has been
moved to a method on VM called did_reach_stack_space_limit. This
allows us to check the stack size in other places besides
push_execution_context.

We can now verify that we have enough space on the stack before calling
flatten_into_array to ensure that we don't cause a stack overflow error
when calling the function with a large depth.
2021-08-15 11:24:30 +01:00
..
array-basic.js
array-index-from-string.js
array-length-setter.js
array-shrink-during-find-crash.js
array-simple-and-generic-storage-initialization.js
array-spread.js
Array.from.js
Array.isArray.js
Array.js
Array.of.js
Array.prototype-generic-functions.js
Array.prototype.at.js
Array.prototype.concat.js
Array.prototype.copyWithin.js
Array.prototype.entries.js
Array.prototype.every.js
Array.prototype.fill.js
Array.prototype.filter.js
Array.prototype.find.js
Array.prototype.findIndex.js
Array.prototype.findLast.js
Array.prototype.findLastIndex.js
Array.prototype.flat.js LibJS: Prevent stack overflow in flatten_into_array() 2021-08-15 11:24:30 +01:00
Array.prototype.flatMap.js
Array.prototype.forEach.js
Array.prototype.includes.js
Array.prototype.indexOf.js
Array.prototype.join.js
Array.prototype.keys.js
Array.prototype.lastIndexOf.js
Array.prototype.map.js
Array.prototype.pop.js
Array.prototype.push.js
Array.prototype.reduce.js
Array.prototype.reduceRight.js
Array.prototype.reverse.js
Array.prototype.shift.js
Array.prototype.slice.js
Array.prototype.some.js
Array.prototype.sort.js
Array.prototype.splice.js
Array.prototype.toLocaleString.js
Array.prototype.toString.js
Array.prototype.unshift.js
Array.prototype.values.js