Skip to content

Conversation

@pmbiaka
Copy link

@pmbiaka pmbiaka commented Jul 1, 2014

In some cases, the responseText variable may be truncated so the MessageEvent at the end of the response can be not dispatched. If this happens, the new responseText is appended to the lines which were not processed so it is possible to have a consistent message.

pmbiaka and others added 2 commits July 1, 2014 10:59
…not dispatched. In this case, append the lines which were not processed to the new responseText.
…lways the type 'message'.

The fix consists to add the eventType to the constructor of MessageEvent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants