electron/lib
trop[bot] b6db80c1c4
fix: properly stream `uploadData` in `protocol.handle()` (#41359)
* refactor(protocol): extract file stream factory

Increase readability by moving the file stream creation logic out of the
`uploadData` to request body conversion function.

Co-authored-by: Henrik S. Gaßmann <BurningEnlightenment@users.noreply.github.com>

* fix: properly flatten streams in `protocol.handle()`

Refs: electron/electron#39658

Co-authored-by: Henrik S. Gaßmann <BurningEnlightenment@users.noreply.github.com>

* fix: `protocol.handle()` filter null origin header

Refs: electron/electron#40754

Co-authored-by: Henrik S. Gaßmann <BurningEnlightenment@users.noreply.github.com>

* fix: remove obsolete TODO comment

Refs: electron/electron#38929

Co-authored-by: Henrik S. Gaßmann <BurningEnlightenment@users.noreply.github.com>

* fix: forward `Blob` parts in `protocol.handle()`

Refs: electron/electron#40826

Co-authored-by: Henrik S. Gaßmann <BurningEnlightenment@users.noreply.github.com>

* fix: explicitly error out on unknown chunk parts

Co-authored-by: Henrik S. Gaßmann <BurningEnlightenment@users.noreply.github.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Henrik S. Gaßmann <BurningEnlightenment@users.noreply.github.com>
2024-02-19 12:23:14 -08:00
..
browser fix: properly stream `uploadData` in `protocol.handle()` (#41359) 2024-02-19 12:23:14 -08:00
common refactor: type-safe module imports / requires (#41235) 2024-02-05 10:46:53 +01:00
isolated_renderer refactor: cleanup global variable declarations (#38410) 2023-05-24 20:01:07 +02:00
node refactor: type-safe module imports / requires (#41235) 2024-02-05 10:46:53 +01:00
renderer fix: apply module search paths restriction on worker and child process (#41138) 2024-01-26 09:28:26 -06:00
sandboxed_renderer refactor: type-safe module imports / requires (#41235) 2024-02-05 10:46:53 +01:00
utility fix: apply module search paths restriction on worker and child process (#41138) 2024-01-26 09:28:26 -06:00
worker fix: apply module search paths restriction on worker and child process (#41138) 2024-01-26 09:28:26 -06:00