Age | Commit message (Collapse) | Author |
|
`ContextState` (#15599)
The `JsRuntimeState` struct stores a number of JS callbacks that are
used either in the event loop or when interacting with V8. Some of
these callback fields are vectors of callbacks, and therefore could
plausibly store at least one callback per realm. However, some of
those fields are `Option<v8::Global<v8::Function>>`, which would make
the callbacks set by a realm override the one that might have been set
by a different realm.
As it turns out, all of the current such optional callbacks
(`js_promise_reject_cb`, `js_format_exception_cb` and
`js_wasm_streaming_cb`) are only used from inside a realm, and
therefore this change makes it so such callbacks can only be set from
inside a realm, and will only affect that realm.
|
|
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unstable (#15693)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Closes #15612
|
|
|
|
|
|
|
|
(#15648)
|
|
|
|
'Syncrhonous' -> 'Synchronous'
|
|
|
|
|
|
it was already latest (#15639)
Closes #15570
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Use a default stack size * 2 in debug for Windows because swc using so much stack size. We should look into this more later though.
|
|
|
|
|
|
|
|
This commit fixes "Deno.serve()" API by making sure that
205 and 304 responses end with "\r\n\r\n".
|
|
|
|
dashes (#15582)
|
|
Previously `jsxImportSource` was resolved relative to the config file
during graph building, and relative to the emitted module during
runtime.
This is now fixed so that the JSX import source is resolved relative to
the module both during graph building and at runtime.
|
|
|
|
|