Apparently obsolete warning about finally
not being called when yielding rejected promises from a sync generator
#37038
Labels
Content:JS
JavaScript docs
needs BCD update
waiting for implementations
Waiting for feature to be implemented in browsers
MDN URL
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of
What specific section or headline is this issue about?
From
Note:
until but not includingSpecification
.What information was incorrect, unhelpful, or incomplete?
It seems at least modern Chrome does correctly call
finally
in the specified circumstances.Assuming this is the case in all modern browsers and is perhaps even specified as such,
the corresponding content should be removed.
What did you expect to see?
No warning about an obsolete issue, assuming it actually is.
Do you have any supporting links, references, or citations?
Someone should check what the relevant spec says, I'm too busy, sorry.
Do you have anything more you want to share?
No response
MDN metadata
Page report details
en-us/web/javascript/reference/statements/for-await...of
The text was updated successfully, but these errors were encountered: