Open Bug 1483669 Opened 8 years ago Updated 5 months ago

Debugger: On forced return from a non-generator async function, close the generator

Categories

(Core :: JavaScript: Debugger API, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: jorendorff, Unassigned)

References

(Blocks 1 open bug)

Details

Spun off from bug 1475417, which ensures that we close generators on forced return from a generator, including async generators; but not async functions. Async functions are also implemented using a generator. But the generator is not exposed to user script. I'm pretty sure the right thing is to close in the async function case too. It isn't user-observable, since that object isn't user-observable; but it's more consistent.
Priority: -- → P3
Severity: normal → S3

Moving bugs to Debugger API component. Use castle-terms-potato to filter out.

Component: JavaScript Engine → JavaScript: Debugger API
You need to log in before you can comment on or make changes to this bug.