Bug 293849
| Summary: | [JSC] Implement `AsyncDisposableStack` prototype methods | ||
|---|---|---|---|
| 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 Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 248707 | ||
Sosuke Suzuki
This patch implements following `AsyncDisposableStack`'s prototype methods
from Explicit Resource Management Proposal[1]:
- `adopt`[2]
- `defer`[3]
- `disposeAsync`[4]
- `disposed`[5]
- `move`[6]
- `use`[7]
[1]: https://github.com/tc39/proposal-explicit-resource-management
[2]: https://tc39.es/proposal-explicit-resource-management/#sec-asyncdisposablestack.prototype.adopt
[3]: https://tc39.es/proposal-explicit-resource-management/#sec-asyncdisposablestack.prototype.defer
[4]: https://tc39.es/proposal-explicit-resource-management/#sec-asyncdisposablestack.prototype.disposeAsync
[5]: https://tc39.es/proposal-explicit-resource-management/#sec-get-asyncdisposablestack.prototype.disposed
[6]: https://tc39.es/proposal-explicit-resource-management/#sec-asyncdisposablestack.prototype.move
[7]: https://tc39.es/proposal-explicit-resource-management/#sec-asyncdisposablestack.prototype.use
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sosuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/46161
EWS
Committed 295677@main (524caf808d19): <https://commits.webkit.org/295677@main>
Reviewed commits have been landed. Closing PR #46161 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/152427448>