Bug 81517
Summary: | Mobile Safari crash when returning to WebSocket page | ||
---|---|---|---|
Product: | WebKit | Reporter: | Martyn Loughran <mail> |
Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | ap, dev+webkit, mail |
Priority: | P1 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | Other | ||
OS: | Other |
Martyn Loughran
This bug report is for iOS: if there's a better place to post this bug please let me know.
Summary: calling send() on a closed WebSocket object which reports an open readyState causes a crash. This scenario can occur when returning to a backgrounded page which received data and then closed when in the backgrounded state.
I wrote up full details, with code and steps to reproduce in this gist https://gist.github.com/2052006
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
The proper way to report iOS bugs is via <http://bugreport.apple.com>.
However, this is likely to be an issue in open source WebKit, so keeping this report open, too.
This is currently tracked internally by Apple as <rdar://problem/10738627>
Matt Lilek
Are you going through a proxy?
Martyn Loughran
(In reply to comment #2)
> Are you going through a proxy?
No I'm not
Alexey Proskuryakov
This issue doesn't appear to be in open source WebKit trunk. It will continue to be tracked via <rdar://problem/10738627>.