Adam Rice

Results 271 comments of Adam Rice
trafficstars

> Maybe I'm missing something but I don't see this part in this thread, has there been discussion about this somewhere else? new Response(stream).arrayBuffer() throws if the chunk is not...

> I think the plan is pretty clear (as described in the raw video explainer). It is now mostly a matter of prioritizing the editing and implementation work. I can...

I made some comments over there but in general it looks good.

I've been thinking about this a bit more, and I have an idea. I propose adding an extra option to `getReader()`, `unsafe`. This would only be used with `mode: 'byob'`....

Sorry. I haven't had time to work on this. If you happen to have time to draft a PR to specify the behaviour, that would be a big help.

Chrome sees WebSockets used on 10% of page loads: https://chromestatus.com/metrics/feature/timeline/popularity/1149 For comparison WebTransport is still at 0.002% of page loads: https://chromestatus.com/metrics/feature/timeline/popularity/3472 I think that's an indication of the time it...

I'm not sure why the test sometimes times out in Chrome. I don't have time to do further investigation today.

There's a lot of existing deployed infrastructure using the WebSocket protocol that can benefit from adopting this API. Adopting WebTransport requires new infrastructure. As the WebSocket protocol is simpler than...

I feel like there should be an enum, something like ``` enum ExcessDataBehaviour { "error", "discard", "decompress", "something-else", }; ``` where `"error"` is our default behaviour, `"discard"` calmly gets rid...

@wandyezj Thank you for your use case. Using a Response to convert a stream to an array buffer is convenient, but inefficient. See https://wicg.github.io/compression/#example-deflate-compress for a faster way to do...