Bug 34562

Summary: should not crash when document opened websocket is unloaded
Product: WebKit Reporter: Fumitoshi Ukai <ukai>
Component: WebCore JavaScriptAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch ap: review+

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>