- From: Olli Pettay <Olli.Pettay@helsinki.fi>
- Date: Tue, 23 Mar 2010 11:38:27 +0200
On 3/18/10 2:15 AM, Alexey Proskuryakov wrote: > > On 05.03.2010, at 15:32, Alexey Proskuryakov wrote: > >>>> for something no one should care about, as you >>>> implied above. >>> From API perspective I do care. Web developers shouldn't need to know >>> about the protocol, yet (s)he should be able to understand what >>> bufferedAmount means. >> >> An explanation like "it's how much data is buffered to be sent over >> network" seems adequate to me. > > > We have a suggested patch that implements the proposed new behavior for > WebKit now, but I think that it adds unnecessary complexity, and puts > limits on how we can refactor the code in the future. We need to > remember frame boundaries for much longer, making it difficult to > interface with general purpose networking code. > > I'd prefer sticking to the previously specified behavior. > > - WBR, Alexey Proskuryakov > > And I certainly prefer the current behavior, where the API is not so tightly bound to the protocol, and where the bufferedAmount is handled more close to what progress events do with XMLHttpRequest. -Olli
Received on Tuesday, 23 March 2010 02:38:27 UTC