Bug 34562 - should not crash when document opened websocket is unloaded
Summary: should not crash when document opened websocket is unloaded
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-03 23:11 PST by Fumitoshi Ukai
Modified: 2010-02-04 22:15 PST (History)
0 users

See Also:


Attachments
Patch (8.37 KB, patch)
2010-02-04 00:51 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-03 23:11:00 PST
When document is unloaded, websocket opened in the document context should be closed. see https://bugs.webkit.org/show_bug.cgi?id=33248

Add tests to check browser doesn't crash.
Comment 1 Fumitoshi Ukai 2010-02-04 00:51:15 PST
Created attachment 48110 [details]
Patch
Comment 2 Alexey Proskuryakov 2010-02-04 08:52:37 PST
Comment on attachment 48110 [details]
Patch

Moar tests!!!
Comment 3 Fumitoshi Ukai 2010-02-04 22:15:40 PST
Committed r54406: <http://trac.webkit.org/changeset/54406>