ladybird/Userland/Libraries/LibJS/Tests
Linus Groh fb60ada6ce LibJS: Handle non-Error this object in Error.prototype.stack getter
This is taken from the abandoned error stacks proposal, which
already serves as the source of truth for the setter. It only requires
the this value to be an object - if it's not an Error object, the getter
returns undefined.
I have not compared this behavior to the non-standard implementations of
the stack property in other engines, but presumably the spec authors
already did that work.

This change gets the Sentry browser SDK working to a point where it can
actually send uncaught exceptions via the API :^)
2022-03-15 17:32:48 +01:00
..
builtins LibJS: Handle non-Error this object in Error.prototype.stack getter 2022-03-15 17:32:48 +01:00
classes LibJS: Keep PrivateEnvironment through NativeFunction calls 2022-03-09 18:35:27 +01:00
functions LibJS: Evaluate NewExpression arguments before checking constructor type 2021-12-30 01:02:30 +01:00
iterators
loops LibJS: Allow CallExpression as left hand side of for-of/for-in loops 2022-02-18 13:47:47 +00:00
modules LibJS: Add support for JSON modules 2022-01-30 17:40:20 +00:00
operators LibJS/Tests: Run prettier on modulo-basic.js 2022-02-16 11:23:25 +00:00
syntax LibJS: Fix mixing of logical and coalescing operators 2022-02-16 11:18:41 +00:00
add-values-to-primitive.js
arguments-callee.js
arguments-object.js
automatic-semicolon-insertion.js
break-continue-syntax-errors.js
comments-basic.js LibJS: Make new lines in block comments reset line has token 2021-12-21 14:04:23 +01:00
computed-property-sideeffects.js LibJS: Ensure we only call toString on computed properties once 2022-02-18 22:33:59 +00:00
computed-property-throws.js
const-declaration-missing-initializer.js
const-reassignment.js
custom-@@hasInstance.js
custom-@@toPrimitive.js
custom-@@toStringTag.js
debugger-statement.js
duplicated-variable-declarations.js
empty-statements.js
eval-aliasing.js
eval-basic.js
exception-in-catch-block.js
exception-ReferenceError.js
exponentiation-basic.js LibJS: Unify exponentiation logic for ** operator and Math.pow 2022-02-18 22:31:36 +00:00
global-var-let-const.js
if-statement-function-declaration.js
indexed-access-prototype-indirection.js
indexed-access-string-object.js
invalid-lhs-in-assignment.js
labels.js LibJS: Replace the custom unwind mechanism with completions :^) 2022-01-06 12:36:23 +01:00
let-scoping.js
new-expression.js
non-writable-assignment.js
numeric-literals-basic.js
object-basic.js LibJS: Disallow shorthand properties with reserved names 2021-11-30 17:05:32 +00:00
object-expression-__proto__.js LibJS: Implement the object literal __proto__ property key special case 2022-03-06 01:38:25 +02:00
object-expression-computed-property.js
object-expression-numeric-property.js
object-getter-setter-shorthand.js
object-method-shorthand.js
object-spread.js LibJS: Use CopyDataProperties when spreading in object expressions 2022-02-15 00:51:25 +00:00
ordinary-to-primitive.js
parseInt.js
parser-declaration-in-single-statement-context.js
parser-line-terminators.js LibJS: Implement create_dynamic_function() according to the spec 2022-01-16 01:54:48 +01:00
parser-unary-associativity.js
permanently-screwed-by-eval.js
program-non-strict.js
program-strict-mode.js
return.js
runtime-error-call-stack-size.js LibJS: Throw InternalErrors instead of Errors on CallStackSizeExceeded 2021-11-27 01:58:05 +02:00
statement-with-many-labels.js
strict-mode-blocks.js
strict-mode-errors.js
string-basic.js LibJS/Tests: Rename snake_case identifiers in string-basic.js 2022-02-13 14:33:46 +00:00
string-concatenation.js LibJS: Combine UTF-16 surrogate pairs when concatenating strings 2022-01-18 00:49:16 +00:00
string-escapes.js LibJS: Disallow '\8' and '\9' in strict mode due to being octal escapes 2021-11-30 17:05:32 +00:00
string-spread.js
switch-basic.js
switch-break.js
switch-default-before-case.js
tagged-template-literals.js
template-literals.js
test-common-tests.js
test-common.js LibJS: Print the expected and received value on expect.toEqual() failure 2022-02-23 03:17:12 +03:30
this-value-strict.js LibJS/Tests: Enable two more skipped tests which now pass 2021-12-08 20:08:26 +00:00
this-value.js LibJS/Tests: Enable two more skipped tests which now pass 2021-12-08 20:08:26 +00:00
throw-basic.js
to-number-basic.js
to-number-exception.js
try-catch-finally-nested.js
try-catch-finally-return.js
try-catch-finally.js
unicode-identifier-escape.js
update-expression-on-member-expression.js
update-expressions-basic.js
use-strict-directive.js
var-multiple-declarator.js
var-scoping.js
variable-undefined.js
with-basic.js