Skip to content

Commit 8b87b06

Browse files
pepelsbeyJosh-Cenagithub-actions[bot]
authored
Add Explicit resource management to Firefox 141 release notes (mdn#40563)
* Add Explicit resource management to Firefox 141 release notes * Update files/en-us/mozilla/firefox/releases/141/index.md Co-authored-by: Joshua Chen <sidachen2003@gmail.com> * Update files/en-us/mozilla/firefox/releases/141/index.md Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update wording --------- Co-authored-by: Joshua Chen <sidachen2003@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent a207917 commit 8b87b06

File tree

1 file changed

+1
-0
lines changed
  • files/en-us/mozilla/firefox/releases/141

1 file changed

+1
-0
lines changed

files/en-us/mozilla/firefox/releases/141/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Firefox 141 was released on [July 22, 2025](https://whattrainisitnow.com/release
2626
- The [`variants`](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/variants) accessor property is now supported on {{jsxref("Intl.Locale")}} instances.
2727
This property returns the variants associated with a locale as a string of dash (`-`) separated identifiers.
2828
It offers a more robust way to get and set variant subtags of a language identifier as opposed to manually parsing or modifying a locale string ([Firefox bug 1970161](https://bugzil.la/1970161)).
29+
- The explicit [resource management](/en-US/docs/Web/JavaScript/Guide/Resource_management) API, which includes the {{jsxref("Statements/using", "using")}} and {{jsxref("Statements/await_using", "await using")}} declarations, the {{jsxref("DisposableStack")}}, {{jsxref("AsyncDisposableStack")}}, and {{jsxref("SuppressedError")}} objects, and the {{jsxref("Symbol.dispose")}} and {{jsxref("Symbol.asyncDispose")}} well-known symbols, is now supported. These features ensure automatic cleanup of resources such as file handles or stream readers when they go out of scope, reducing leaks and simplifying error handling ([Firefox bug 1967744](https://bugzil.la/1967744)).
2930

3031
### HTTP
3132

0 commit comments

Comments
 (0)