Skip to content

lib: prefer iterable weak set than WeakRefs in AbortSignal.any

The dom spec specified the usage of weak sets for dependent and source signals. This came from a discussion in the original dom spec PR, which explicitly stated "weak sets" rather than "a set of weak references" to avoid extra new WeakRef and deref when interacting with the signals. This PR makes that behavior spec compliant.

Merge request reports

Loading