Re: [whatwg] The PeerConnection onmessage function attribute

2011-05-12 Thread ᛏᚮᛘᛘᚤ
Ahh, thanks! I thought it was an all or nothing kind of class. Have now implemented the onmessage using the right event. /Tommy On Thu, May 12, 2011 at 11:18, Per-Erik Brodin wrote: > On 2011-05-12 09:38 CEST, Tommy Widenflycht (ᛏᚮᛘᛘᚤ) wrote: >> >> Yes, I have read that part but what confuses me

Re: [whatwg] The PeerConnection onmessage function attribute

2011-05-12 Thread Per-Erik Brodin
On 2011-05-12 09:38 CEST, Tommy Widenflycht (ᛏᚮᛘᛘᚤ) wrote: Yes, I have read that part but what confuses me is that in the link I sent in my original email MessageEvent is defined as follows: interface MessageEvent : Event { readonly attribute any data; readonly attribute DOMString origin;

Re: [whatwg] The PeerConnection onmessage function attribute

2011-05-12 Thread ᛏᚮᛘᛘᚤ
Yes, I have read that part but what confuses me is that in the link I sent in my original email MessageEvent is defined as follows: interface MessageEvent : Event { readonly attribute any data; readonly attribute DOMString origin; readonly attribute DOMString lastEventId; readonly attribut

Re: [whatwg] The PeerConnection onmessage function attribute

2011-05-11 Thread Per-Erik Brodin
Hi Tommy, On 2011-05-11 14:59 CEST, Tommy Widenflycht (ᛏᚮᛘᛘᚤ) wrote: > Hi gang, > > What is the event type for the onmessage event handler? I might have > missed something but I can't find a suitable event for this one. A > MessageEvent is already defined by the Communication spec > (http://www.wh

[whatwg] The PeerConnection onmessage function attribute

2011-05-11 Thread ᛏᚮᛘᛘᚤ
Hi gang, What is the event type for the onmessage event handler? I might have missed something but I can't find a suitable event for this one. A MessageEvent is already defined by the Communication spec (http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html). /Tommy -- Tommy W