Bug 16134 - This spec should point out how to actually receive data. Afaik you need to access the message event's data property, but the spec doesn't mention that anywhere.
This spec should point out how to actually receive data. Afaik you need to ac...
Status: RESOLVED FIXED
Product: WebAppsWG
Classification: Unclassified
Component: WebSocket API (editor: Ian Hickson)
unspecified
Other other
: P3 normal
: ---
Assigned To: Ian 'Hixie' Hickson
public-webapps-bugzilla
http://www.whatwg.org/specs/web-apps/...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-27 13:32 UTC by contributor
Modified: 2012-05-02 19:50 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description contributor 2012-02-27 13:32:22 UTC
Specification: http://dev.w3.org/html5/websockets/
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
This spec should point out how to actually receive data. Afaik you need to
access the message event's data property, but the spec doesn't mention that
anywhere.

Posted from: 217.115.158.134
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.11
Comment 1 Simon Pieters 2012-02-27 13:38:54 UTC
See step 4 under "When a WebSocket message has been received" http://dev.w3.org/html5/websockets/#feedback-from-the-protocol
Comment 2 contributor 2012-05-02 19:50:10 UTC
Checked in as WHATWG revision r7082.
Check-in comment: add websocket onmessage example
http://html5.org/tools/web-apps-tracker?from=7081&to=7082