Closed Bug 710964 Opened 8 years ago Closed 8 years ago
No longer dispatch incoming Web
Socket messages in CLOSING state
The latest (W3C Candidate Recommendation 08 December 2011) websocket spec changed message dispatch behavior: a websocket must no longer dispatch incoming messages once it is in the CLOSING state (see section 5, "When a WebSocket message has been received", bullet point 1). This fix is quite simple: just check for OPEN state during dispatch. I've verified that the test fails w/o the patch, and succeeds with it.
Attachment #581872 - Flags: review?(bugs)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla11
You need to log in before you can comment on or make changes to this bug.