[Webkit-unassigned] [Bug 33248] New: WebSocket close the connection when unloading the document.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 5 22:25:48 PST 2010


           Summary: WebSocket close the connection when unloading the
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ukai at chromium.org

http://www.whatwg.org/specs/web-apps/current-work/#unloading-documents says:

6.11.10 Unloading documents

When a user agent is to unload a document, it must run the following steps.
These steps are passed an argument, recycle, which is either true or false,
indicating whether the Document object is going to be re-used. (This is set by
the document.open() method.)
7. Close the Web Socket connection of any WebSocket objects that were created
by the WebSocket() constructor visible on the Document's Window object. If this
affected any WebSocket objects, set salvageable to false.

But current implementation doesn't close the Web Socket connection when
unloading the document.

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