Pierre Tachoire
|
e347e7e5fb
|
browser: use loop.resetJS
|
2025-03-27 15:49:48 +01:00 |
|
Pierre Tachoire
|
3f1d0df7f9
|
cdp: run microtasks after send inspector
|
2025-03-27 15:49:48 +01:00 |
|
Karl Seguin
|
531a484cb0
|
Fix a few comments
Switch generic http_client error level from warn to err
|
2025-03-27 08:11:48 +08:00 |
|
Karl Seguin
|
afdb5d7233
|
reset read_pos after handshake is established
|
2025-03-23 20:08:12 +08:00 |
|
Karl Seguin
|
18be1202db
|
Prevent double in-flight recvs
Retry on test timeout for slower machines (i.e. CI build), while also reducing
wait time for faster builds.
|
2025-03-23 19:05:37 +08:00 |
|
Karl Seguin
|
14cc87e1a5
|
Use latest tls.zig (with new allocation-free API)
Add more fuzz tests around async tls.
|
2025-03-23 19:05:37 +08:00 |
|
Karl Seguin
|
2a0d1b0a48
|
Switch to nonblocking socket
Improve test server handshake performance, allowing for a few more fuzz
iterations without making tests unbearably slow.
|
2025-03-23 19:05:37 +08:00 |
|
Karl Seguin
|
22aa126b29
|
Cleaner merge
Switch to non-blocking sockets.
Fix TLS handshake/receive/send ordering
|
2025-03-23 19:05:35 +08:00 |
|
Karl Seguin
|
feb2046549
|
add TLS integration test for sync client
|
2025-03-23 19:01:40 +08:00 |
|
Karl Seguin
|
2f362f2aa2
|
handle redirects on asynchronous calls
|
2025-03-23 19:01:40 +08:00 |
|
Karl Seguin
|
de160d9170
|
Cleanup synchronous connection for tls and non-tls.
Drain response prior to redirect.
|
2025-03-23 19:01:40 +08:00 |
|
Karl Seguin
|
226c18cb56
|
handle redirects on synchronous calls
|
2025-03-23 19:01:40 +08:00 |
|
Karl Seguin
|
314aea4e1e
|
fix double dereference
|
2025-03-23 19:01:40 +08:00 |
|
Karl Seguin
|
807d3a600c
|
Support transfer-encoding: chunked, fix async+tls integration
|
2025-03-23 19:01:40 +08:00 |
|
Karl Seguin
|
2017d4785b
|
replace zig-async-io and std.http.Client with a custom HTTP client
|
2025-03-23 19:01:40 +08:00 |
|
Pierre Tachoire
|
b972c9fe30
|
Merge pull request #484 from lightpanda-io/telemetry_batch
send telemetry events in batches (up to 20)
|
2025-03-23 11:21:56 +01:00 |
|
Karl Seguin
|
3d6dd06b99
|
Generate non-persisted iid if app_path is null
|
2025-03-22 23:58:57 +08:00 |
|
Karl Seguin
|
81759fa57a
|
Use makePath to create any missing intermediate directories for app dir
https://github.com/lightpanda-io/browser/issues/486
|
2025-03-22 23:53:46 +08:00 |
|
Karl Seguin
|
2aee346299
|
send telemetry events in batches (up to 20)
|
2025-03-21 22:40:10 +08:00 |
|
Pierre Tachoire
|
7607ab2c84
|
cdp: target: implement detach from target
|
2025-03-20 09:36:00 +01:00 |
|
Pierre Tachoire
|
fe7f6bee1c
|
cdp: create a cdp state for target_auto_attach
|
2025-03-20 09:35:59 +01:00 |
|
Pierre Tachoire
|
b43658eb3f
|
cdp: target: add test for #474
Can't attach to just created target
|
2025-03-20 09:35:59 +01:00 |
|
Pierre Tachoire
|
55a942aa22
|
wpt: fix zig-0.14 compat
|
2025-03-19 16:48:22 +01:00 |
|
Karl Seguin
|
936048d478
|
upgrade telemetry to zig 0.14
|
2025-03-19 16:28:21 +01:00 |
|
Karl Seguin
|
21c9dde858
|
Zig 0.14 compatibility
|
2025-03-19 16:28:15 +01:00 |
|
Karl Seguin
|
705603a088
|
remove explicit thread stack size.
The real win is having a global http_client, so the thread only needs a pointer.
|
2025-03-19 16:17:41 +08:00 |
|
Karl Seguin
|
ba8a0179d5
|
Share the HTTP client globally
|
2025-03-19 11:09:58 +08:00 |
|
Pierre Tachoire
|
9fe10747ce
|
Merge pull request #476 from karlseguin/implicit_browser_context
Implicitly create BrowserContext on createTarget if one doesn't exist
|
2025-03-18 09:21:50 +01:00 |
|
Karl Seguin
|
2e7342a59c
|
add driver field to navigate telemetry
|
2025-03-18 10:40:04 +08:00 |
|
Karl Seguin
|
c9bc5be42b
|
add additition navigate fields
|
2025-03-18 09:56:57 +08:00 |
|
Karl Seguin
|
b75b36dc61
|
zig fmt
|
2025-03-18 08:27:47 +08:00 |
|
Karl Seguin
|
1e6a1bd3af
|
store iid in application data directory
|
2025-03-18 08:27:47 +08:00 |
|
Karl Seguin
|
b0a2087015
|
fix unit test
|
2025-03-18 08:27:47 +08:00 |
|
Karl Seguin
|
a5ee34a2db
|
send telemetry synchronously in a background thread
|
2025-03-18 08:27:47 +08:00 |
|
Karl Seguin
|
a6a8130234
|
update telemetry URL (but not vendored dependency this time)
|
2025-03-18 08:27:34 +08:00 |
|
Karl Seguin
|
288761632f
|
Revert "update telemetry URL"
This reverts commit 88850bcdd38026720f03087be8ef7e9869072ac6.
|
2025-03-18 08:27:34 +08:00 |
|
Karl Seguin
|
3b4de6a405
|
remove [incorrect] data version
|
2025-03-18 08:27:32 +08:00 |
|
Karl Seguin
|
75512602c3
|
Add log to display telemetry state
|
2025-03-18 08:27:02 +08:00 |
|
Karl Seguin
|
cd33a089d1
|
flatten events, include aarch + os, remove eid
|
2025-03-18 08:26:58 +08:00 |
|
Karl Seguin
|
6b83281539
|
Add navigate telemetry
|
2025-03-18 08:25:44 +08:00 |
|
Karl Seguin
|
2609671982
|
don't try (and fail) to get userData after clearing context
|
2025-03-18 08:02:09 +08:00 |
|
Karl Seguin
|
accf2c0e5e
|
use async-client for telemetry
|
2025-03-18 08:02:09 +08:00 |
|
Karl Seguin
|
53f6e66c23
|
Remove plausible, leave a dummy provider for now
Add batching, add install optional id (persisted) and execution id (per run)
|
2025-03-18 08:02:09 +08:00 |
|
Karl Seguin
|
56ddcc8e29
|
Initial usage telemetry
|
2025-03-18 08:02:09 +08:00 |
|
Karl Seguin
|
430779979e
|
Implicitly create BrowserContext on createTarget if one doesn't exist
|
2025-03-17 20:45:57 +08:00 |
|
Pierre Tachoire
|
087a7b5f3c
|
browser: use *const Page with fetchModule
|
2025-03-17 09:58:31 +01:00 |
|
Pierre Tachoire
|
229844d399
|
browser: use *const Script with evalScript
|
2025-03-17 09:51:01 +01:00 |
|
Pierre Tachoire
|
3fd8347943
|
browser: fix module URL resolution
|
2025-03-14 19:02:33 +01:00 |
|
Pierre Tachoire
|
aca01d81d6
|
cdp: use .zig-cache to save js script debug files
|
2025-03-14 11:41:21 +01:00 |
|
Pierre Tachoire
|
6a0b154d67
|
cdp: dump runtime js only in debug mode
|
2025-03-14 11:41:20 +01:00 |
|