test262
test262 copied to clipboard
Add tests for AsyncContext (Stage 2)
trafficstars
See https://github.com/tc39/proposal-async-context.
The tests in built-ins/AsyncContext/context-propagation/* are really tests that the changes to the HostMakeJobCallback and HostCallJobCallback host hooks are indeed reflected in the built-in APIs that use those hooks. Maybe they should be moved to those APIs' folders.
Also, built-ins/AsyncContext/context-propagation/generators.js currently tests a behavior that was agreed to in tc39/proposal-async-context#18 but that hasn't yet been changed in the spec text.