Bug 292523
| Summary: | [JSC] Support `@@dispose` and `@@asyncDispose` from Explicit Resource Management Proposal | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sosuke Suzuki <aosukeke> |
| Component: | JavaScriptCore | Assignee: | Sosuke Suzuki <aosukeke> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 248707 | ||
Sosuke Suzuki
This patch implements following builtins from Explicit Resouce
Management Proposal[1]:
- Symbol.dispose and Symbol.asyncDispose[2]
- %IteratorPrototype%.@@dispose[3]
- %AsyncIteratorPrototype%.@@asyncDispose[4]
[1]: https://github.com/tc39/proposal-explicit-resource-management
[2]: https://tc39.es/proposal-explicit-resource-management/#sec-well-known-symbols
[3]: https://tc39.es/proposal-explicit-resource-management/#sec-%iteratorprototype%-@@dispose
[4]: https://tc39.es/proposal-explicit-resource-management/#sec-%asynciteratorprototype%-objec
t
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sosuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/44923
EWS
Committed 294592@main (4b3e163cef0b): <https://commits.webkit.org/294592@main>
Reviewed commits have been landed. Closing PR #44923 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/150816114>