Closed bwrrp closed 2 years ago
Apparently Safari / Webkit can return null from WeakRef#deref, even though the spec specifies either returning the object or undefined. This adds a work-around.
null
WeakRef#deref
undefined
LGTM. Is this already reported to the webkit bugtracker?
Just reported as https://bugs.webkit.org/show_bug.cgi?id=235880
Apparently Safari / Webkit can return
null
fromWeakRef#deref
, even though the spec specifies either returning the object orundefined
. This adds a work-around.