test262/test
Shu-yu Guo 29c6f7028a [top-level-await] Sync implementation with spec text
The module evaluation machinery has undergone non-trivial refactoring
since implementation. Sync up the comments and code for maintenance.

Notably,

- Actually use the kEvaluatingAsync status (previously conflated under
  kEvaluated)
- [[IsAsyncEvaluating]] -> [[IsAsyncEvaluation]]
- GatherAsyncParentCompletions -> GatherAvailableAncestors
- async -> has_toplevel_await
- kAsyncModule -> kModuleWithTopLevelAwait

Bug: 347060515
Change-Id: Ia2c35d5b42ee9f58db841cdfcaef9d17b018c9c6
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5636701
Reviewed-by: Adam Klein <adamk@chromium.org>
Commit-Queue: Shu-yu Guo <syg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#94591}
2024-06-21 23:23:02 +02:00
..
annexB Allow global var-via-eval be declared 2024-04-11 17:22:43 -07:00
built-ins Remove empty info block scalar 2024-06-21 10:17:07 +02:00
harness Fix harness tests for verifyProperty 2023-10-02 11:27:59 +02:00
intl402 Temporal: Remove methods with ISO-named pairs 2024-06-13 22:04:16 +02:00
language Fix typo in with statement test file name 2024-04-29 15:30:25 +02:00
staging [top-level-await] Sync implementation with spec text 2024-06-21 23:23:02 +02:00