Luca Casonato
a66218d457
fix(runtime): event loop panics in classic workers ( #11756 )
...
Classic worker scripts are now executed in the context of a Tokio
runtime. This does mean we can not spawn more tokio runtimes in
"op_worker_sync_fetch". We instead spawn a new thread there, that can
create a new Tokio runtime that we can use to block the worker thread.
2021-08-18 15:19:22 +02:00
Ryan Dahl
163f2ef571
fix: parse error when transpiling code with BOM ( #11688 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2021-08-16 09:28:29 +02:00
David Sherret
15a763152f
chore: move test files to testdata directory ( #11601 )
2021-08-11 10:20:47 -04:00
Luca Casonato
78fc9a4c60
fix: support --cert flag for tls connect APIs ( #11484 )
2021-07-22 12:28:46 +02:00
Luca Casonato
a2512de95f
fix: close fetch response body on GC ( #11467 )
...
This commit fixes fetch response bodies to be automatically closed if
the `Response.body` readable stream goes out of scope and is GC'ed.
2021-07-20 21:06:24 +02:00
Andreu Botella
240545282a
fix(workers): silently ignore non-existent worker IDs ( #11417 )
...
Fixes #11416
2021-07-17 08:51:06 +10:00
Andreu Botella
eea6000ef6
fix: align DedicatedWorkerGlobalScope event handlers to spec ( #11353 )
2021-07-10 23:32:10 +02:00
David Sherret
29b9c89312
chore: temporarily disable flaky single_compile_with_reload test ( #11320 )
2021-07-07 13:52:42 -04:00
Nayeem Rahman
060dd3ae82
fix(core): Delay deadlock detection for dynamic imports ( #11282 )
2021-07-05 18:59:49 +02:00
Jimmy Wärting
2c0b0e45b7
refactor: asynchronous blob backing store ( #10969 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-07-05 15:34:37 +02:00
Bartek Iwańczuk
513f921219
feat(core): pump V8 message loop on event loop tick ( #11221 )
...
This commit adds support for Atomics and FinalizationRegistry by integrating
V8's message loop into "JsRuntime::poll_event_loop".
2021-07-02 10:46:37 +02:00
David Sherret
098a7c8886
chore: split up integration_tests.rs into separate files ( #11131 )
2021-06-27 13:27:36 -04:00