Re: [webrtc-pc] Should garbage collecting RTCPeerConnection be observable? (#3090)

I'm also wondering if the wpt test is sound. I'm seeing some confusing behavior with https://jsfiddle.net/jib1/6sxjqm9r/

Firefox (sometimes closed = false after 20 seconds, but other times):
> Here
There
Waiting up to 20 seconds...
closed = true after 8 seconds

Safari (varies from 0-9 seconds):
> Here
There
Waiting up to 20 seconds...
closed = true after 6 seconds

Chrome (hangs for some reason, never gets dc1 `open` event?):
> Here

In any case, very different results from [wpt.fyi](https://wpt.fyi/results/webrtc/RTCDataChannel-GC.html%3Finterop-2026). Unexpected from Safari compared. cc @youennf @guidou 

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/3090#issuecomment-3963470071 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 26 February 2026 02:02:02 UTC