W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

Re: [eventsource] Moving Server-sent Events spec back to Last Call

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 10 Mar 2011 20:06:47 +0000 (UTC)
To: Anne van Kesteren <annevk@opera.com>
cc: Arthur Barstow <art.barstow@nokia.com>, public-webapps <public-webapps@w3.org>
Message-ID: <Pine.LNX.4.64.1103102006060.944@ps20323.dreamhostps.com>
On Thu, 10 Mar 2011, Anne van Kesteren wrote:
> On Mon, 07 Mar 2011 20:06:25 +0100, Ian Hickson <ian@hixie.ch> wrote:
> > Zero, one or two BOMs before an event.
> > 
> > Parsing of comments with zero, one, or 2049 bytes of content, on either
> > side of a real field.
> > 
> > Handling of unknown fields. Handling of fields with names similar to but
> > not identical to valid fields, in particular with spaces, hyphens,
> > underscares, nulls where they're not expected; with uppercase names
> > instead of lowercase ones; with turkish upper-case dotted Is where a
> > lowercase i is expected.
> > 
> > Fields with and without value parts, for each allowed field and for
> > illegal fields. Fields with and without spaces after their colons.
> > 
> > End of line handling: cr/lf/cr, lf/cr/lf, etc.
> > 
> > Event dispatch when the last field ends with eof.
> > 
> > Nulls in values. Surrogate halves in field names and values. UTF-8 errors
> > in field names and values.
> > 
> > "Retry" field with leading zeros that are binary and octal (011, 071),
> > with hex values (0x01), with non-numeric trailing garbage (123x).
> 
> http://tc.labs.opera.com/apis/EventSource/format-bom-2.htm
> http://tc.labs.opera.com/apis/EventSource/format-comments.htm
> http://tc.labs.opera.com/apis/EventSource/format-field-parsing.htm
> http://tc.labs.opera.com/apis/EventSource/format-field-retry-bogus.htm
> http://tc.labs.opera.com/apis/EventSource/format-field-retry.htm
> 
> This does not cover everything you suggested though, but does cover 
> quite a bit. Patches accepted for the rest.

Can I ask you to create a "TODO" file in that directory that lists the 
cases I suggested that aren't tested? That way at least my ideas don't get 
lost, even if we don't have tests for them straight away. :-)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 10 March 2011 20:07:16 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:43 GMT