Bug 34630 - send() should return false, after frame that opened a WebSokcet is detached
Summary: send() should return false, after frame that opened a WebSokcet is detached
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-04 22:28 PST by Fumitoshi Ukai
Modified: 2010-02-05 01:37 PST (History)
0 users

See Also:


Attachments
Patch (3.62 KB, patch)
2010-02-04 22:38 PST, Fumitoshi Ukai
ap: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fumitoshi Ukai 2010-02-04 22:28:28 PST
WebSocket was opened in subframe and subframe is detached from parent, the WebSocket will be closed.
After that, send() on the WebSocket sould return false, because it was closed when the frame was detached.
Comment 1 Fumitoshi Ukai 2010-02-04 22:38:18 PST
Created attachment 48201 [details]
Patch
Comment 2 Fumitoshi Ukai 2010-02-05 01:37:51 PST
Committed r54414: <http://trac.webkit.org/changeset/54414>