[Webkit-unassigned] [Bug 57301] New: close before open WebSocket doesn't fire close event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 28 23:18:33 PDT 2011


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

           Summary: close before open WebSocket doesn't fire close event
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ukai at chromium.org


If it opens WebSocket and close in the same context (before receiving open event), it misses firing close event.

var ws = new WebSocket(wsUrl);
ws.onclose = function() { alert("closed"); }
ws.close();

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list