ladybird/Tests/LibJS/Runtime/syntax
Andreas Kling 1f4700a0c8 LibJS: Add tests for regex literal parse-time error reporting
Cover the paths exercised by deferred regex compilation:
- Invalid patterns in literals, eval(), and new Function()
- Duplicate and invalid flags in literals
- Valid literals with various flag combinations
- Multiple literals in the same scope
- Literals inside regular and arrow functions
2026-03-06 13:06:05 +01:00
..
async-await.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
async-generators.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
coalesce-logic-expression-mixing.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
destructuring-assignment.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
dynamic-import-usage.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
for-loop-invalid-in.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
function-hoisting.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
functions-in-tree-order-non-strict.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
functions-in-tree-order-strict.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
generators.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
if-statement-empty-completion.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
new-with-optional-chaining.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
numeric-separator.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
optional-chaining.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
regex-literal-errors.js LibJS: Add tests for regex literal parse-time error reporting 2026-03-06 13:06:05 +01:00
return-object-with-duplicated-field-names-from-arrow-function.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
slash-after-block.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
switch-as-statement.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
syntax-error-unary-expression-before-exponentiation.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00