- From: Ian Hickson <ian@hixie.ch>
- Date: Tue, 8 May 2012 19:52:22 +0000 (UTC)
- To: Bryan Sullivan <blsaws@gmail.com>
- cc: Glenn Maynard <glenn@zewt.org>, public-webapps@w3.org
On Thu, 8 Sep 2011, Bryan Sullivan wrote: > > OK, maybe I'm getting closer to understanding this. From your example, > when the "event" field is set, it's not a "message" event that is > dispatched but an event of type "event name", so in order to see those > events, I need to use the addEventListener interface for the eventsource > object (they will not be delivered via the onmessage handler). > > I modified my test to use that explanation and it does work. It would be > really great for the eventsource spec to have an example that explains > this. There is one in the intro section now. Let me know if it's insufficient. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 8 May 2012 19:52:46 UTC