Bug 248707
| Summary: | [JSC] Implement Explicit Resource Management proposal | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tetsuharu Ohzeki [UTC+9] <tetsuharu.ohzeki> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | aosukeke, chi187, dev, setvik, webkit-bug-importer, woodlxf00 |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 292523, 292747, 292818, 293849 | ||
| Bug Blocks: | |||
Tetsuharu Ohzeki [UTC+9]
spec: https://github.com/tc39/proposal-explicit-resource-management
It has been promoted to stage 3.
https://github.com/tc39/proposals/commit/b0e427418d081a5b5014f0bf18fc414a16ffa928
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Tetsuharu Ohzeki [UTC+9]
- SpiderMonkey https://bugzilla.mozilla.org/show_bug.cgi?id=1569081
- V8 https://bugs.chromium.org/p/v8/issues/detail?id=13559
Radar WebKit Bug Importer
<rdar://problem/103209363>
atjn
This is supported in all other browsers, and it seems like it is mostly implemented in JSC as well, but this bug has been dorment for 5 months and has no assignee. Any chance you could prioritize getting this over the finish line? The feature is very hard to polyfill, so it will essentially be impossible to use before JSC supports it, and we really want to use it. Thanks!
setvik
+1
Unlocks powerful new JS syntax:
* using - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/using#browser_compatibility
* await using - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/await_using#browser_compatibility