[Webkit-unassigned] [Bug 247943] New: WebSocket in latest Safari v16.1 (on macOS Big Sur, Monterey, Ventura) and in latest Safari in iOS 15/16 does not emit onclose event when internet is turned off (wifi or cellular)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 15 05:48:44 PST 2022


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

            Bug ID: 247943
           Summary: WebSocket in latest Safari v16.1 (on macOS Big Sur,
                    Monterey, Ventura) and in latest Safari in iOS 15/16
                    does not emit onclose event when internet is turned
                    off (wifi or cellular)
           Product: WebKit
           Version: Safari 16
          Hardware: All
                OS: macOS 13
            Status: NEW
          Severity: Major
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: poremba at nolimit.sk

Created attachment 463530

  --> https://bugs.webkit.org/attachment.cgi?id=463530&action=review

Screens from Safari

WebSocket in latest Safari v16.1 (on macOS Big Sur, Monterey, Ventura) and in latest Safari in iOS 15/16 does not emit onclose event when internet is turned off (wifi or cellular). Problem is on any device (MacBook, iPhone, iPad) with latest Safari. Bug details and demo available here: https://dev.bikeapp.sk/apple-bugs/2/ In e.g. Firefox on macOS or older Safari versions you will see "WebSocket fired event onopen: yes" and when you turn internet off you will see EXPECTED "WebSocket fired event onclose: yes". But in latest Safari v16.1 you still see UNEXPECTED "WebSocket fired event onclose: no" after turning internet off. This URL also contains proofs - screens from older Safari versions that is working there. Bug is on any device (MacBooks, iPhones, iPads) with latest Safari. Advanced debug tool with timestamps available here: https://dev.bikeapp.sk/apple-bugs/debug/ This tool was used for creating screens.

-- 
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/20221115/830e6360/attachment.htm>


More information about the webkit-unassigned mailing list