Bug 284709
| Summary: | [JSC] Close Iterator Helpers underlying iterator when arguments are invalid | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sosuke Suzuki <aosukeke> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sosuke Suzuki
The normative change[1] that requires closing underlying iterators when
argument validation fails for iterator helpers reached consensus at the
TC39 meeting in December 2024[2].
This patch implements it.
[1]: https://github.com/tc39/ecma262/pull/3467
[2]: https://github.com/tc39/agendas/blob/main/2024/12.md
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sosuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/37981
Radar WebKit Bug Importer
<rdar://problem/141894287>
EWS
Committed 290907@main (6e8fef40092d): <https://commits.webkit.org/290907@main>
Reviewed commits have been landed. Closing PR #37981 and removing active labels.