sjorsdonkers
1b87f9690c
remove superflous text
2025-06-02 10:23:06 +02:00
sjorsdonkers
e799fcd48a
xmlserializer for doctype
2025-06-02 10:23:06 +02:00
Karl Seguin
4644e55883
Do not reset transfer_arena if page navigation results in delayed navigation
...
We normally expect a navigation event to happen at some point after the page
loads, like a puppeteer script clicking on a link. But, it's also possible for
the main navigation event to result in a delayed navigation. For example, an
html page with this JS:
<script>top.location = '/';</script>
Would result in a delayed navigation being called from the main navigate
function. In these cases, we cannot clear the transfer_arena when navigate is
completed, as its memory is needed by the new "sub" delayed navigation.
2025-06-02 14:16:36 +08:00
Karl Seguin
747a8ad09c
Submit input and button submits can now submit forms
2025-06-02 11:27:44 +08:00
Karl Seguin
32dc19cb1c
Run puppeteer-perf using ReleaseFast
2025-06-01 19:30:33 +08:00
Karl Seguin
527579aef4
Merge pull request #720 from lightpanda-io/clean_xhr_shutdown
...
e2e-test / zig build release (push) Has been cancelled
zig-test / zig build dev (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
e2e-test / puppeteer-perf (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 / browser fetch (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
Clean Http Request Shutdown
2025-05-31 07:51:11 +08:00
Karl Seguin
1869ef0c38
Merge pull request #734 from lightpanda-io/url_resolve_buffer_size
...
increase buffer size 1024->4096
2025-05-31 07:50:57 +08:00
Karl Seguin
e7007b4231
fix test
2025-05-31 07:31:05 +08:00
Karl Seguin
6ca57c1f8c
Merge pull request #723 from lightpanda-io/form_submit
...
Form submit
2025-05-31 07:23:49 +08:00
Karl Seguin
f2f7a349ce
Merge pull request #715 from lightpanda-io/location_change
...
Implement location.reload(), location.assign() and location setter
2025-05-31 07:23:36 +08:00
Karl Seguin
f696aa3748
Merge pull request #726 from lightpanda-io/fix_set_innerhtml_and_html_collection
...
Fix set_innerHTML, fix HTMLCollection fixed (postAttached) return type
2025-05-31 07:23:24 +08:00
Karl Seguin
f35e3ec78a
Merge pull request #725 from lightpanda-io/dynamic_script_onload
...
Execute onload for dynamic script
2025-05-31 07:23:14 +08:00
Karl Seguin
e339ee3f0c
Clean Http Request Shutdown
...
The Request object now exists on the heap, allowing it to outlive whatever is
making the request (e.g. the XHR object). We can now wait until all inflight IO
events are completed before clearing the memory.
This change fixes the crash observed in:
https://github.com/lightpanda-io/browser/issues/667
2025-05-31 07:22:01 +08:00
Karl Seguin
c30b424f36
increase buffer size 1024->4096
2025-05-31 07:19:30 +08:00
Pierre Tachoire
0b0b405974
Merge pull request #733 from lightpanda-io/e2e-bench
...
e2e-test / zig build release (push) Has been cancelled
e2e-test / puppeteer-perf (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
ci: disable telemetry for 2e2 tests
2025-05-30 16:33:25 +02:00
Karl Seguin
ef64fa3794
Execute onload for dynamic script
...
Add support for onerror for static and dynamic scripts.
Make script type checking case insensitive.
2025-05-30 22:24:44 +08:00
Pierre Tachoire
2531aed50b
ci: disable telemetry for 2e2 tests
2025-05-30 16:22:59 +02:00
Karl Seguin
6adb46abd5
Merge pull request #727 from lightpanda-io/named_node_map_named_index_and_iteartor
...
Implement named_get and iterator on NamedNodeMap
2025-05-30 22:22:06 +08:00
Karl Seguin
3ef1d8b0b9
Merge pull request #729 from lightpanda-io/fix_node_insert_before_null_reference
...
support null referene node to Node.insertBefore
2025-05-30 22:21:29 +08:00
Karl Seguin
71b5dc2f81
Merge pull request #731 from lightpanda-io/minor_chores
...
Update zig-v8-fork + zig fmt fix
2025-05-30 22:21:18 +08:00
Karl Seguin
5909ab7641
Merge pull request #730 from lightpanda-io/fix_html_image
...
Fix HTMLImageElement
2025-05-30 22:21:06 +08:00
Pierre Tachoire
b7beb73a92
Merge pull request #728 from lightpanda-io/e2e-bench
...
e2e-test / zig build release (push) Has been cancelled
e2e-test / puppeteer-perf (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: switch lpd_bench_cdp
2025-05-30 15:41:55 +02:00
Karl Seguin
0acbb20c00
Merge pull request #732 from lightpanda-io/intersection_observer_threshold
...
IntersectionObserver's threshold option should be an union
2025-05-30 21:28:18 +08:00
Karl Seguin
9a2c0067f1
IntersectionObserver's threshold option should be an union
2025-05-30 20:48:10 +08:00
Karl Seguin
ab45b42382
Update zig-v8-fork + zig fmt fix
...
zig-v8-fork update simply removes a couple std.debug statements
2025-05-30 20:08:52 +08:00
Karl Seguin
4a6cee0611
Fix HTMLImageElement
...
HTMLImageElement is the correct class name. However, it has a "legacy factory":
Image (i.e. new Image()).
2025-05-30 20:05:51 +08:00
Karl Seguin
d39cada0c6
support null referene node to Node.insertBefore
2025-05-30 18:03:03 +08:00
Pierre Tachoire
b7b67681c7
ci: give time to start services
2025-05-30 11:27:35 +02:00
Pierre Tachoire
8551e05808
ci: switch lpd_bench_cdp
2025-05-30 11:02:28 +02:00
Karl Seguin
cfdbd418c1
Implement named_get and iterator on NamedNodeMap
2025-05-30 14:42:54 +08:00
Karl Seguin
2a4feb7bee
Fix set_innerHTML, fix HTMLCollection fixed (postAttached) return type
2025-05-30 13:32:29 +08:00
Karl Seguin
7202d758a2
Merge pull request #714 from lightpanda-io/live_scripts
...
e2e-test / zig build release (push) Has been cancelled
e2e-test / puppeteer-perf (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
Load dynamically added <script> tags
2025-05-29 18:06:56 +08:00
Karl Seguin
dab59aded3
Merge pull request #707 from lightpanda-io/skip_large_headers
...
Skip large header lines that don't fit into the header buffer.
2025-05-29 18:06:40 +08:00
Karl Seguin
20d0b4ad16
update libdom dep
2025-05-29 16:00:41 +08:00
Karl Seguin
eed4fc7844
Load dynamically added <script> tags
...
Add a callback to libdom which triggers whenever a script tag is added. Page
registers the callback AFTER the HTML is parsed, but before any JS is processed
and loads the script tags.
2025-05-29 16:00:40 +08:00
Karl Seguin
0ccd9e0579
Merge pull request #716 from lightpanda-io/skip_long_timeouts
...
Skip long setTimeout/setInterval
2025-05-29 15:59:52 +08:00
Karl Seguin
74b36d6d32
support form.submit()
...
Only supports application/x-www-form-urlencoded
2025-05-29 14:10:07 +08:00
Karl Seguin
58215a470b
Implement location.reload(), location.assign() and location setter
...
I'm not sure that _any_ location instance should be able to change the page URL.
But you can't create a new location (i.e. new Location() isn't valid), and the
only two ways I know of are via `window.location` and `document.location` both
of which _should_ alter the location of the window/document.
2025-05-29 13:59:15 +08:00
Karl Seguin
608e0a0122
Skip long setTimeout/setInterval
...
I guess this should eventually become a configuration option - what time is too
long and should they be skipped or just be run sooner?
But for now, this unblocks from fetching a site like DDG which does a setTimeout
of 2 minutes.
2025-05-29 13:58:31 +08:00
Karl Seguin
bddb3f0542
Merge pull request #724 from lightpanda-io/apt_update
...
run apt-get update before trying to install
2025-05-29 13:57:02 +08:00
Karl Seguin
83da81839b
run apt-get update before trying to install
2025-05-29 13:50:22 +08:00
Karl Seguin
73d63293d9
Merge pull request #722 from lightpanda-io/nix
...
Update flake.nix for Zig 0.14.1
2025-05-29 08:10:15 +08:00
Muki Kiboigo
f49710f361
update flake.nix for Zig 0.14.1
2025-05-28 13:05:03 -07:00
Karl Seguin
dffbce1934
Merge pull request #712 from lightpanda-io/tweak_http_logs
...
e2e-test / zig build release (push) Has been cancelled
e2e-test / puppeteer-perf (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
Reduce info logs of HTTP event
2025-05-28 23:04:29 +08:00
Karl Seguin
06a33b0c8b
Merge pull request #717 from lightpanda-io/missing-t
...
Missing T
2025-05-28 23:02:40 +08:00
Karl Seguin
a1f140acf7
Merge pull request #718 from lightpanda-io/max_memory_30
...
e2e-test / zig build release (push) Has been cancelled
e2e-test / puppeteer-perf (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
increase max memory threshold to 30
2025-05-28 17:21:18 +08:00
Karl Seguin
fed37bcc48
increase max memory threshold to 30
2025-05-28 17:07:28 +08:00
sjorsdonkers
88df9f0134
missing t
2025-05-28 10:42:33 +02:00
Karl Seguin
79d1425530
Reduce info logs of HTTP event
...
In normal cases, only log a single info event HTTP request. In an error case or
when log-level=debug, more may be logged.
2025-05-28 11:18:38 +08:00
Karl Seguin
f9144378ae
Re-enable microtask loop
...
e2e-test / zig build release (push) Has been cancelled
e2e-test / puppeteer-perf (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
Must have gotten disabled in a merge?
2025-05-27 21:05:24 +02:00