Contact emails...@chromium.org

Explainerhttps://github.com/tc39/proposal-symbols-as-weakmap-keys

Specificationhttps://tc39.es/proposal-symbols-as-weakmap-keys

Summary

This proposal allows Symbols to be used as keys in WeakMaps, WeakSet, as
the referent in a WeakRef, and as the target in a FinalizationRegistry.


Blink componentBlink>JavaScript>Language
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EJavaScript%3ELanguage>

TAG reviewThis is a TC39 JS language feature that doesn't have any
interaction with web APIs.

TAG review statusNot applicable

Risks


Interoperability and Compatibility



*Gecko*: Positive Stage 3 TC39 proposal

*WebKit*: Positive Stage 3 TC39 proposal

*Web developers*: No signals

*Other signals*:

WebView application risks

None?

Debuggability

This proposal adds Symbols as keys to weak collections and weak data
structures, which already exist and are debuggable. The V8 inspector was
extended [1] to support Symbols in collections. [1]
https://chromium-review.googlesource.com/c/v8/v8/+/3930037


Will this feature be supported on all six Blink platforms (Windows, Mac,
Linux, Chrome OS, Android, and Android WebView)?Yes

Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
?
In test262 <https://github.com/tc39/test262/pull/3678>

Flag name--harmony-symbol-as-weakmap-key

Requires code in //chrome?False

Tracking bughttps://bugs.chromium.org/p/v8/issues/detail?id=12947

Estimated milestones
DevTrial on desktop 108
DevTrial on Android 108

Anticipated spec changes

None


Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5124046206271488

This intent message was generated by Chrome Platform Status
<https://chromestatus.com/>.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAN-e9e8JuO3YqLNDg2FkGWswKQOeOQVYiM3BTM-Z-jaCNfOrxg%40mail.gmail.com.

Reply via email to