ladybird/Tests/LibJS/Runtime/syntax
Andreas Kling 8b64f0079b LibJS: Allow parenthesized dynamic import under new
Parenthesized import calls are valid callees for new expressions. The
unparenthesized form remains a syntax error, but the grouped expression
must parse and then fail at runtime if the produced Promise is not a
constructor.

Add syntax coverage for both forms.
2026-05-22 14:30:35 +02:00
..
async-await.js LibJS: Synchronous await fast path when microtask queue is empty 2026-03-16 19:15:03 -05:00
async-generators.js LibJS: Reject non-of for-await loops 2026-05-22 01:56:57 +02:00
coalesce-logic-expression-mixing.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
destructuring-assignment.js LibJS: Reject parenthesized nested assignment patterns 2026-05-22 01:56:57 +02:00
dynamic-import-usage.js LibJS: Allow parenthesized dynamic import under new 2026-05-22 14:30:35 +02:00
for-loop-invalid-in.js LibJS: Preserve no-In context in arrow bodies 2026-05-22 01:56:57 +02: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: Yield delegated iterator results directly 2026-05-22 01:56:57 +02: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: Delete through optional chain property references 2026-05-22 01:56:57 +02:00
regex-literal-errors.js LibRegex: Reject negated /v classes that contain strings 2026-03-31 15:59:04 +02: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: Reject unparenthesized await before exponentiation 2026-05-22 01:56:57 +02:00