deno_core
deno_core copied to clipboard
The core engine at the heart of Deno
The ops `op_arraybuffer_was_detached` (in `core/ops_builtin.rs`) and `op_transfer_arraybuffer` (in `ext/web`) were defined to do things that couldn't be done at that time from JS. But V8 11.4 ships with the `ArrayBuffer.prototype.transfer`...
What happens is that ops are linked together in the wrong way, and then the wrong underlying op gets called for each JS side fn. For example a sync op...
We should use `#[ops(stable)]` to say an op is stable so that it's an explicit opt-in. This would reduce the chances of someone creating an unstable op as stable. Edit:...
`ZeroCopyBuf` wraps a reference to a backing store that is potentially shared with an `ArrayBuffer` object, and thus is only safely accessible from one thread. Therefore, `ZeroCopyBuf`, and `MagicBuffer` which...
In the spec, the ["fetch a single module script"](https://html.spec.whatwg.org/multipage/webappapis.html#fetch-a-single-module-script) algorithm handles fetching and parsing a specific ES module, and in step 13 it uses the encoding spec's ["UTF-8 decode"](https://encoding.spec.whatwg.org/#utf-8-decode) to...
cc @bnoordhuis @piscisaureus
Doing something like ```rs let object: HashMap = serde_v8::from_v8(value).unwrap(); ``` gives two compile time errors.  
Hi, I'm trying to use `serde_v8::Value` to pass through a `v8::Local` in a deserialized enum field like this: ```rust pub enum SomeEnum, }, } ``` The value being deserialized to...
There is a fair amount of logic in `JsRuntime` that deals with collating the data from multiple `Extensions`. We should move all of this logic to an `ExtensionSet` that can...
https://github.com/denoland/deno_core/pull/112 needs a regression test. One was provided in https://github.com/denoland/deno/issues/19903 but it needs to be simplified for deno_core only.