1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-17 12:55:07 +00:00
serenity/Userland/Libraries/LibJS/Tests/syntax
Shannon Booth 378595e8b1 LibJS: Add three more await thenable tests
The first test crashes in AST, and fails in bytecode, so the best thing
which we can do here without complicated test setup logic is to just
skip this test for now. Interestinglny, this crashing test is very
similar to the existing thenable test case, and only differs in the way
that the thenable is given to the async function.

The next two tests are effectively the same as the above two mentioned
tests, with the only different being that the thenable calls the fulfill
function. For the test case that crashes in AST mode, doing that appears
to fix the test case for AST mode (but both still fail in bytecode).
2023-07-30 09:31:16 +02:00
..
async-await.js LibJS: Add three more await thenable tests 2023-07-30 09:31:16 +02:00
async-generators.js LibJS: Disallow async generator functions called 'await' or 'yield' 2021-12-21 14:04:23 +01:00
coalesce-logic-expression-mixing.js LibJS: Parse secondary expressions with the original forbidden token set 2023-04-02 06:45:37 +02:00
destructuring-assignment.js LibJS: Allow BigInts as destructuring property names 2022-08-24 23:27:17 +01:00
dynamic-import-usage.js LibJS: Don't VERIFY that the token after 'import' is one of '.' and '(' 2021-12-29 16:57:23 +01:00
for-loop-invalid-in.js LibJS: Fix cases where we incorrectly allowed 'in' in for loops 2022-02-15 10:31:41 +00:00
function-hoisting.js LibJS: No longer hoist if parent scope has a function with the same name 2022-11-17 16:05:20 +00:00
functions-in-tree-order-non-strict.js LibJS: Initialize functions in spec order 2022-11-17 16:05:20 +00:00
functions-in-tree-order-strict.js LibJS: Initialize functions in spec order 2022-11-17 16:05:20 +00:00
generators.js LibJS: Disallow async generator functions called 'await' or 'yield' 2021-12-21 14:04:23 +01:00
if-statement-empty-completion.js LibJS: Add missing undefined fallback to IfStatement completions 2021-12-31 15:39:25 +01:00
new-with-optional-chaining.js LibJS: Add tests for new Obj with optional chain 2023-06-17 20:01:38 +02:00
numeric-separator.js LibJS: Disallow numerical separators in octal numbers and after '.' 2021-11-30 17:05:32 +00:00
optional-chaining.js
slash-after-block.js LibJS: Parse slashes after reserved identifiers correctly 2023-06-10 07:20:33 +02:00
switch-as-statement.js LibJS: Make scoping follow the spec 2021-09-30 08:16:32 +01:00