Bug 292523

Summary: [JSC] Support `@@dispose` and `@@asyncDispose` from Explicit Resource Management Proposal
Product: WebKit Reporter: Sosuke Suzuki <aosukeke>
Component: JavaScriptCoreAssignee: 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
Reported 2025-05-04 22:19:21 PDT
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
Sosuke Suzuki
Comment 1 2025-05-04 22:20:59 PDT
EWS
Comment 2 2025-05-06 19:30:57 PDT
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
Comment 3 2025-05-06 19:31:18 PDT
Note You need to log in before you can comment on or make changes to this bug.