James M Snell

Results 138 issues of James M Snell

* Eliminate the extra object allocated for the stack using the new v8::Exception::CaptureStackTrace API. * Avoid having to use the JS constructor to create instances by using the FunctionTemplate directly

Fixes: https://github.com/cloudflare/workerd/issues/2112

Reproduction: ``` export default { async fetch(req, env) { if (req.url.endsWith('/sub')) { return new Response("Hello World\n", { status: 302, headers: { location: 'file://what/is/the/url' } }); } else { const resp...

First pass at implementing support for JS-backed WritableStreams with JSRPC. Provides an alternative adapter that will acquire the isolate lock on each write/close call, passing the operation off to the...

api

Further implementation of the `Request.cache` mechanism. Work in progress. Builds on https://github.com/cloudflare/workerd/pull/2073

### What is the issue with the Fetch Standard? This goes along with the streams-specific related discussion here: https://github.com/whatwg/streams/issues/1307 What, if any, support should the fetch spec adopt for explicit...

Noticed in some benchmarking/profiling that the Navigator object constructor was rather expensive and slow due to initialization of properties during construction. It makes more sense for these to be lazily...

performance
needs-ci