Open Bug 1680259 Opened 10 months ago Updated 1 month ago

Write tests verifying top level await

Categories

(DevTools :: Debugger, task, P4)

task

Tracking

(Not tracked)

People

(Reporter: ystartsev, Unassigned)

References

(Blocks 1 open bug)

Details

Top-Level Await is being implemented, and will be ready for testing soon. This bug is for tracking the integration of this feature with devtools.

Top Level await introduces the ability to use asynchronous code in Modules. This doesn't apply to other types of scripts such as eval or classic scripts. It can be tested by turning on the Top Level Await flag in javascript.options.experimental.top_level_await

Example code can be found in the explainer: https://tc39.es/proposal-top-level-await/

And the test262 repo can also provide some files for testing: https://github.com/tc39/test262/pull/2274

I don't expect any changes to be necessary here, beyond maybe a few tests.

Thanks for the report Yulia!

Blocks: dbg-test
Severity: -- → S3
Priority: -- → P4
Depends on: 1725621
No longer depends on: 1725621
You need to log in before you can comment on or make changes to this bug.