Muki Kiboigo
fe89c2ff9b
simplify cloning of Req/Resp
2025-09-17 08:45:25 -07:00
Muki Kiboigo
bb2595eca5
use call arena for json in Req/Resp
2025-09-17 08:45:20 -07:00
Muki Kiboigo
618fff0191
simplify Headers
2025-09-17 08:45:14 -07:00
Muki Kiboigo
9bbd06ce76
headers iterators should not allocate
2025-09-17 08:45:05 -07:00
Muki Kiboigo
20463a662b
use destructor callback for FetchContext
2025-09-17 08:45:00 -07:00
Muki Kiboigo
9251180501
support object as HeadersInit
2025-09-17 08:44:54 -07:00
Muki Kiboigo
2659043afd
add logging on fetch error callback
2025-09-17 08:44:47 -07:00
sjorsdonkers
7766892ad2
retain value, avoid str alloc
2025-09-17 08:44:36 -07:00
sjorsdonkers
a7848f43cd
avoid explicit memcpy
2025-09-17 08:44:31 -07:00
sjorsdonkers
cf8f76b454
remove length check of fixed size
2025-09-17 08:44:26 -07:00
sjorsdonkers
f68f184c68
jsValueToZig for fixed sized arrays
2025-09-17 08:44:12 -07:00
Muki Kiboigo
463440bce4
implement remaining ReadableStream functionality
2025-09-17 08:43:42 -07:00
Muki Kiboigo
51ee313910
working Header iterators
2025-09-17 08:43:36 -07:00
Muki Kiboigo
744b0bfff7
TypeError when Stream is locked
2025-09-17 08:43:31 -07:00
Muki Kiboigo
949479aa81
cleaning up various Headers routines
2025-09-17 08:43:22 -07:00
Muki Kiboigo
8743841145
use proper Headers in fetch()
2025-09-17 08:43:16 -07:00
Muki Kiboigo
6225cb38ae
expand Request/Response interfaces
2025-09-17 08:43:05 -07:00
Muki Kiboigo
8dcba37672
expand Headers interface
2025-09-17 08:42:59 -07:00
Muki Kiboigo
38b922df75
remove debug logging in ReadableStream
2025-09-17 08:42:50 -07:00
Muki Kiboigo
6d884382a1
move fetch() into fetch.zig
2025-09-17 08:42:41 -07:00
Muki Kiboigo
752e75e94b
add bodyUsed checks on Request and Response
2025-09-17 08:42:36 -07:00
Muki Kiboigo
5ca41b5e13
more Headers compatibility
2025-09-17 08:42:30 -07:00
Muki Kiboigo
1b3707ad33
add fetch to cdp domain
2025-09-17 08:42:20 -07:00
Muki Kiboigo
c6e82d5af6
add json response method
2025-09-17 08:42:12 -07:00
Muki Kiboigo
814e41122a
basic readable stream working
2025-09-17 08:42:07 -07:00
Muki Kiboigo
a133a71eb9
proper fetch method and body setting
2025-09-17 08:41:22 -07:00
Muki Kiboigo
dc2addb0ed
fetch callback logging
2025-09-17 08:41:16 -07:00
Muki Kiboigo
f9014bb90c
request url as null terminated
2025-09-17 08:41:11 -07:00
Muki Kiboigo
df0b6d5b07
initial fetch in zig
2025-09-17 08:40:32 -07:00
Muki Kiboigo
56c6e8be06
remove polyfill and add req/resp
2025-09-17 08:40:10 -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