reworked weak references so that cycles are (hopefully) correctly handled - added Symbol as WeakMap key, WeakRef and FinalizationRegistry

This commit is contained in:
Fabrice Bellard
2025-04-05 12:49:29 +02:00
parent bf164d640f
commit 8b5b1277ad
7 changed files with 550 additions and 121 deletions

View File

@@ -107,7 +107,7 @@ Error.isError=skip
explicit-resource-management=skip
exponentiation
export-star-as-namespace-from-module
FinalizationRegistry=skip
FinalizationRegistry
Float16Array=skip
Float32Array
Float64Array
@@ -217,7 +217,7 @@ Symbol.split
Symbol.toPrimitive
Symbol.toStringTag
Symbol.unscopables
symbols-as-weakmap-keys=skip
symbols-as-weakmap-keys
tail-call-optimization=skip
template
Temporal=skip
@@ -231,7 +231,7 @@ Uint8Array
uint8array-base64=skip
Uint8ClampedArray
WeakMap
WeakRef=skip
WeakRef
WeakSet
well-formed-json-stringify