Muki Kiboigo
e133717f7f
simplify Headers
2025-09-16 11:08:26 -07:00
Muki Kiboigo
968c695da1
headers iterators should not allocate
2025-09-16 11:08:26 -07:00
Muki Kiboigo
707116a030
use destructor callback for FetchContext
2025-09-16 11:08:26 -07:00
Muki Kiboigo
01966f41ff
support object as HeadersInit
2025-09-16 11:08:26 -07:00
Muki Kiboigo
141d17dd55
add logging on fetch error callback
2025-09-16 11:08:26 -07:00
sjorsdonkers
a3c2daf306
retain value, avoid str alloc
2025-09-16 11:08:25 -07:00
sjorsdonkers
dc60fac90d
avoid explicit memcpy
2025-09-16 11:08:25 -07:00
sjorsdonkers
a5e2e8ea15
remove length check of fixed size
2025-09-16 11:08:25 -07:00
sjorsdonkers
8295c2abe5
jsValueToZig for fixed sized arrays
2025-09-16 11:08:25 -07:00
Muki Kiboigo
5997be89f6
implement remaining ReadableStream functionality
2025-09-16 11:08:25 -07:00
Muki Kiboigo
1c89cfe5d4
working Header iterators
2025-09-16 11:08:25 -07:00
Muki Kiboigo
b5021bd9fa
TypeError when Stream is locked
2025-09-16 11:08:25 -07:00
Muki Kiboigo
4fd365b520
cleaning up various Headers routines
2025-09-16 11:08:25 -07:00
Muki Kiboigo
479cd5ab1a
use proper Headers in fetch()
2025-09-16 11:08:24 -07:00
Muki Kiboigo
8285cbcaa9
expand Request/Response interfaces
2025-09-16 11:08:24 -07:00
Muki Kiboigo
545d97b5c0
expand Headers interface
2025-09-16 11:08:24 -07:00
Muki Kiboigo
11016abdd3
remove debug logging in ReadableStream
2025-09-16 11:08:24 -07:00
Muki Kiboigo
066df87dd4
move fetch() into fetch.zig
2025-09-16 11:08:24 -07:00
Muki Kiboigo
91899912d8
add bodyUsed checks on Request and Response
2025-09-16 11:08:24 -07:00
Muki Kiboigo
4ceca6b90b
more Headers compatibility
2025-09-16 11:08:24 -07:00
Muki Kiboigo
ec936417c6
add fetch to cdp domain
2025-09-16 11:08:23 -07:00
Muki Kiboigo
4b75b33eb3
add json response method
2025-09-16 11:08:23 -07:00
Muki Kiboigo
1d7e731034
basic readable stream working
2025-09-16 11:08:23 -07:00
Muki Kiboigo
ab60f64452
proper fetch method and body setting
2025-09-16 11:08:23 -07:00
Muki Kiboigo
9757ea7b0f
fetch callback logging
2025-09-16 11:08:23 -07:00
Muki Kiboigo
855583874f
request url as null terminated
2025-09-16 11:08:23 -07:00
Muki Kiboigo
9efc27c2bb
initial fetch in zig
2025-09-16 11:08:23 -07:00
Muki Kiboigo
cab5117d85
remove polyfill and add req/resp
2025-09-16 11:08:19 -07:00
Karl Seguin
b7d26cf0d5
Merge pull request #1053 from lightpanda-io/nikneym/create-event-html-events
...
e2e-test / zig build release (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
e2e-test / cdp-and-hyperfine-bench (push) Has been cancelled
e2e-test / perf-fmt (push) Has been cancelled
zig-test / zig build dev (push) Has been cancelled
zig-test / browser fetch (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
nightly build / build-linux-x86_64 (push) Has been cancelled
nightly build / build-linux-aarch64 (push) Has been cancelled
nightly build / build-macos-aarch64 (push) Has been cancelled
nightly build / build-macos-x86_64 (push) Has been cancelled
wpt / web platform tests json output (push) Has been cancelled
wpt / perf-fmt (push) Has been cancelled
allow `HTMLEvents` in `createEvent`
2025-09-17 00:31:36 +08:00
Pierre Tachoire
59b4033ab2
Merge pull request #1052 from lightpanda-io/fix-auth-interception-overflow
...
Fix auth interception integer overflow
2025-09-16 16:31:07 +02:00
nikneym
13a7219dbd
allow HTMLEvents in createEvent
2025-09-16 17:24:50 +03:00
Pierre Tachoire
eae8a90a89
ci: add request interception through proxy test
2025-09-16 16:24:19 +02:00
Karl Seguin
a87f4abd5f
Merge pull request #1050 from lightpanda-io/event_window_bubble
...
Event window bubble
2025-09-16 18:44:22 +08:00
Karl Seguin
1b73691c69
update libdom dep
2025-09-16 18:21:16 +08:00
Pierre Tachoire
e00066466b
http: decrement intercepted on auth abortion
2025-09-16 12:18:49 +02:00
Pierre Tachoire
b87a8ba97d
http: increment intercepted counter on auth interception
2025-09-16 12:18:49 +02:00
Karl Seguin
57aa270032
Merge pull request #1048 from lightpanda-io/nikneym/mime-changes
...
e2e-test / zig build release (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
e2e-test / cdp-and-hyperfine-bench (push) Has been cancelled
e2e-test / perf-fmt (push) Has been cancelled
zig-test / zig build dev (push) Has been cancelled
zig-test / browser fetch (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
Mime: charset identification changes
2025-09-16 16:13:46 +08:00
nikneym
90a96fd8a7
set a zero char right after attrib value instead of memset
2025-09-16 10:41:49 +03:00
nikneym
c05470515f
double quotes must be first and last argument of slice if provided
2025-09-16 10:40:38 +03:00
Pierre Tachoire
81ed4f3699
Merge pull request #1051 from lightpanda-io/explicit_microtask
...
Set Isolate Microtask to Explicit
2025-09-16 09:38:33 +02:00
Karl Seguin
c9ac1eab11
Set Isolate Microtask to Explicit
...
This defaults to Auto, which means it runs when the call stack reaches 0.
It appears that both Node and Deno set this to explicit.
I don't really understand why Auto doesn't work. It says the call stack is the
C++/C callstack, and I don't see what would block the current code from reaching
a depth of 0. Still, we already have explicit calls to performMicrotasksCheckpoint
which ties it holistically with our scheduler, so having it be explicit like
this should...well make it more explicit
This broke a test, but since the tests are being redone in the [fetch PR](https://github.com/lightpanda-io/browser/pull/972 ) I simply removed the offending one.
2025-09-16 14:52:31 +08:00
Karl Seguin
1ba542fb3b
use redispatch, check for stopped
2025-09-16 10:31:37 +08:00
Karl Seguin
4f127c9de3
Bubble events to the Window
2025-09-15 22:24:35 +08:00
Karl Seguin
16656f6c13
Merge pull request #1049 from lightpanda-io/netsurf_event_errors
...
e2e-test / zig build release (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
e2e-test / cdp-and-hyperfine-bench (push) Has been cancelled
e2e-test / perf-fmt (push) Has been cancelled
zig-test / zig build dev (push) Has been cancelled
zig-test / browser fetch (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
nightly build / build-linux-x86_64 (push) Has been cancelled
nightly build / build-linux-aarch64 (push) Has been cancelled
nightly build / build-macos-aarch64 (push) Has been cancelled
nightly build / build-macos-x86_64 (push) Has been cancelled
wpt / web platform tests json output (push) Has been cancelled
wpt / perf-fmt (push) Has been cancelled
Remove unnecessary error handling from non-erroring netsurf event fun…
2025-09-15 21:55:18 +08:00
Karl Seguin
0f13e062fe
Remove unnecessary error handling from non-erroring netsurf event functions
2025-09-15 21:37:53 +08:00
nikneym
2e68407fbe
update Mime tests
2025-09-15 15:15:29 +03:00
nikneym
974f350f27
store charset value directly in Mime
2025-09-15 15:15:08 +03:00
nikneym
27ffea9052
add vectorized parseCharset impl
2025-09-15 11:15:09 +03:00
Pierre Tachoire
9b2b35e8a2
Merge pull request #1047 from lightpanda-io/ci-cache-libiconv
...
e2e-test / zig build release (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
e2e-test / cdp-and-hyperfine-bench (push) Has been cancelled
e2e-test / perf-fmt (push) Has been cancelled
zig-test / zig build dev (push) Has been cancelled
zig-test / browser fetch (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
ci: cache libiconv
2025-09-15 09:19:46 +02:00
Pierre Tachoire
3b51ca3947
make: download libiconv from GH fork
2025-09-15 08:59:30 +02:00