[whatwg] Issues with Web Sockets API

On Tue, 4 Aug 2009, Alexey Proskuryakov wrote:
> 04.08.2009, ? 16:47, Ian Hickson ???????(?):
> > 
> > The text "Closing the connection causes a close event to be fired and 
> > the readyState attribute's value to change, as described below" is not 
> > normative (it has no "must"s in it). It's just letting you know that 
> > subsequent requirements as described lower in the spec do result in 
> > that.
> > 
> > Is there some way I can make that clearer?
> 
> A note explaining that the close event will be dispatched at server's 
> discretion (or on subsequent connection timeout), potentially long time 
> after close() is called, would likely make the intention clearer.

It won't be long after the close(). If the UA closes the connection, then 
the conditions under which "the Web Socket connection is closed" occurs 
will quickly come to be.

I've tried to make this a little clearer.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 13 August 2009 04:42:41 UTC