[Webkit-unassigned] [Bug 247943] REGRESSION (Safari 15.6.1-16.6): WebSocket in latest Safari does not emit onclose event when internet is turned off (wifi or cellular)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 6 13:55:12 PST 2024


https://bugs.webkit.org/show_bug.cgi?id=247943

--- Comment #21 from Mike <poremba at nolimit.sk> ---
(In reply to Chad from comment #20)
> This issue appears to be fixed in Safari (it is still an issue in Chrome).

Yes, I can confirm that Safari 17.3 on latest iOS now fires CLOSE event before OFFLINE event as expected. Great! So it must be fixed somewhere in v17 but without mention in some of v17.x release notes here https://developer.apple.com/documentation/safari-release-notes Btw latest v16 Safari is not fixed - tested now. I have tested macOS Safari v17.1 and there it is not fixed (I do not have probably latest v17 now).

When you mention Chrome, note that CLOSE event was always working and also working now in latest Chrome working on Android. Only desktop Chrome version does not fire CLOSE event immediately but I think several minutes later (such as Firefox) - it is difference because Safari after bug introducing never fired CLOSE event - you could be offline several hours but websocket connection looked connecting/working!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240206/1ffe699d/attachment.htm>


More information about the webkit-unassigned mailing list