Skip to content

fix(vm): harden async-generator/eval paths (#706, #707, #708, #709)#950

Open
replygirl wants to merge 1 commit intotrynova:mainfrom
replygirl:async-generator-state-706-709
Open

fix(vm): harden async-generator/eval paths (#706, #707, #708, #709)#950
replygirl wants to merge 1 commit intotrynova:mainfrom
replygirl:async-generator-state-706-709

Conversation

@replygirl
Copy link

Harden async generator state transitions and queue-drain handling to avoid unreachable/panic paths, and convert invalid eval VM await/yield completions into SyntaxError instead of crashes.

Also updates Test262 expectations for the now-passing async generator and SM async crash tests.

Fixes #706

Fixes #707

Fixes #708

Fixes #709

…rynova#708, trynova#709)

Harden async generator state transitions and queue-drain handling to avoid unreachable/panic paths, and convert invalid eval VM await/yield completions into SyntaxError instead of crashes.

Also updates Test262 expectations for the now-passing async generator and SM async crash tests.

Fixes trynova#706

Fixes trynova#707

Fixes trynova#708

Fixes trynova#709
@replygirl
Copy link
Author

i am out of my depth here but the tests pass 🤷‍♀️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant