Karl Seguin
5604affd0b
slower for CI
2025-09-23 17:51:36 +08:00
Karl Seguin
60f1b1160e
reduce test wait time
2025-09-23 11:47:32 +08:00
Karl Seguin
db166b4633
Merge pull request #1081 from lightpanda-io/nikneym/link-rel
...
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
Add `rel` property to `HTMLLinkElement`
2025-09-22 22:35:34 +08:00
nikneym
71bc624a74
add a link element test
2025-09-22 16:35:06 +03:00
nikneym
907a941795
add rel setter to HTMLLinkElement
2025-09-22 16:34:37 +03:00
Pierre Tachoire
559783eed7
Merge pull request #1080 from lightpanda-io/bump-netsurf
...
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
update libdom version
2025-09-22 14:26:24 +02:00
nikneym
68585c8837
add rel getter to HTMLLinkElement
2025-09-22 15:08:07 +03:00
Pierre Tachoire
eccbc9d9b3
update libdom version
2025-09-22 11:19:28 +02:00
Karl Seguin
a8e5a48b87
Merge pull request #1074 from lightpanda-io/cdp-nodeid
...
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 / 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
cdp: start nodeId from 1 instead of 0
2025-09-20 07:21:20 +08:00
Pierre Tachoire
283a9af406
cdp: start nodeId from 1 instead of 0
...
chromedp expects the nodeId starts to 1.
A start to 0 make it enter in infinite loop b/c it expects the Go's
default int, ie 0, to be nil from a map to stop the loop.
If the 0 index is set, it will loop...
2025-09-19 17:58:37 +02:00
Karl Seguin
e3896455db
Merge pull request #1073 from lightpanda-io/increase_mimalloc_get_rss_buffer
...
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
Seems 4K isn't always enough
2025-09-19 19:38:28 +08:00
Karl Seguin
5e6d2700a2
Merge pull request #1070 from lightpanda-io/dump_strip_mode
...
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
Replace --noscript with more advanced --strip_mode
2025-09-19 19:25:06 +08:00
Karl Seguin
dfd0dfe0f6
Seems 4K isn't always enough
2025-09-19 19:22:02 +08:00
Pierre Tachoire
e6b9be5020
Merge pull request #1072 from lightpanda-io/assert_corretly_set_exit_when_done
...
Ensure extra_socket can't happen when exit_when_done == true
2025-09-19 12:20:33 +02:00
Pierre Tachoire
6f7c87516f
Merge pull request #1067 from lightpanda-io/more_testing_metrics
...
Add libdom RSS and v8 total_physical_size to testing --json output
2025-09-19 12:16:47 +02:00
Pierre Tachoire
516a78326d
Merge pull request #1066 from lightpanda-io/nikneym/relaxed-post-message
...
Relaxed `MessagePort.postMessage`
2025-09-19 11:14:35 +02:00
Karl Seguin
853b7f84ef
Ensure extra_socket can't happen when exit_when_done == true
...
exit_when_done is pretty much a sneaky way to get CDP knowledge into the page.
exit_when_done == true means "this isn't a CDP session".
extra_socket is another sneaky weay to get CDP knowledge into the page. When
we get an `extra_socket` message it means "Return control to the CDP server".
Therefore it should be impossible to get an `extra_socket` message (return to
CDP) when `exit_when_done == true` (this isn't a CDP session).
2025-09-19 16:59:36 +08:00
Karl Seguin
b248a2515e
Merge pull request #1071 from lightpanda-io/nikneym/element-dir
...
Add `element.dir` getter & setter
2025-09-19 16:51:32 +08:00
nikneym
6826c42c65
check for correct dir in HTML elements
2025-09-19 11:30:15 +03:00
nikneym
4f041e48a3
make sure dir attribute is parsed if provided
2025-09-19 11:26:53 +03:00
nikneym
ec6800500b
add a test for element.dir
2025-09-19 11:11:58 +03:00
nikneym
856d65a8e9
add element.dir getter & setter
2025-09-19 10:48:37 +03:00
Karl Seguin
8a2efde365
Merge pull request #1069 from lightpanda-io/response-gettype
...
Adds `Response.type`
2025-09-19 15:12:10 +08:00
Karl Seguin
2ddcc6d9e6
Replace --noscript with more advanced --strip_mode
...
--noscript is deprecated (warning) and automatically maps to --strip_mode js
--strip_mode takes a comma separated list of values. From the help:
- "js" script and link[as=script, rel=preload]
- "ui" includes img, picture, video, css and svg
- "css" includes style and link[rel=stylesheet]
- "full" includes js, ui and css
Maybe this is overkill, but i sometimes find myself looking --dump outputs over
and over again, and removing noise (like HUGE svgs) seems like a small
improvement.
2025-09-19 14:27:53 +08:00
Muki Kiboigo
25962326d2
add support for Response.type
2025-09-18 22:27:51 -07:00
Karl Seguin
bbc2fbf984
Merge pull request #1068 from lightpanda-io/fix_wpt_runner_user_agent
...
git wpt runner a (not required) user_agent
2025-09-19 13:07:14 +08:00
Karl Seguin
edc53d6de3
git wpt runner a (not required) user_agent
2025-09-19 12:38:40 +08:00
Karl Seguin
47710210bd
Add libdom RSS and v8 total_physical_size to testing --json output
...
https://github.com/lightpanda-io/browser/issues/1057
2025-09-19 10:21:39 +08:00
Pierre Tachoire
823b7f0670
Merge pull request #1064 from lightpanda-io/testing_metrics
...
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
Re-enable test metrics
2025-09-18 18:03:57 +02:00
Pierre Tachoire
f5130ce48f
Merge pull request #1061 from lightpanda-io/remove_inline
...
Remove all inlines
2025-09-18 17:59:35 +02:00
Halil Durak
347524a5b3
Add setImmediate, clearImmediate ( #1065 )
2025-09-18 17:56:09 +02:00
nikneym
51830f5907
relaxed MessagePort.postMessage
2025-09-18 17:07:12 +03:00
Karl Seguin
346f538c3b
Re-enable test metrics
...
Both the durations and allocations will be _much_ higher with the new htmlRunner
which, for example, does 2 HTTP requests per test (html, testing.js).
https://github.com/lightpanda-io/browser/issues/1057
2025-09-18 19:55:37 +08:00
Karl Seguin
9d2948ff50
Remove all inlines
...
Following Zig recommendation not to inline except in specific cases, none of
which I think applies to use.
Also, mimalloc.create can't fail (it used to be possible, but that changed a
while ago), so removed its error return.
2025-09-18 19:10:22 +08:00
Karl Seguin
36ce227bf6
Merge pull request #1055 from lightpanda-io/env_string
...
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
Introduces an Env.String for persistent strings
2025-09-18 19:06:46 +08:00
Karl Seguin
024f7ad9ef
Merge pull request #1056 from lightpanda-io/DOM_NO_ERR
...
Convert more DOM_NO_ERR cases to assertions
2025-09-18 19:06:32 +08:00
Karl Seguin
f8425fe614
Merge pull request #1063 from lightpanda-io/remove_jsrunner
...
Remove JSRunner
2025-09-18 18:46:59 +08:00
Karl Seguin
7802a1b5a4
Merge pull request #1062 from lightpanda-io/fetch_newHeaders
...
use client.newHeaders
2025-09-18 15:56:35 +08:00
Karl Seguin
17549d8a43
Remove JSRunner
...
It only had a few fetch tests still using it. But now everything is migrated
to the htmlRunner
2025-09-18 15:50:19 +08:00
Karl Seguin
f6ed706855
use client.newHeaders
2025-09-18 15:46:23 +08:00
Pierre Tachoire
89ef25501b
Merge pull request #1060 from lightpanda-io/fetch-ua
...
fetch: init headers w page's client UA
2025-09-18 09:44:00 +02:00
Pierre Tachoire
4870125e64
fetch: init headers w page's client UA
2025-09-18 09:34:55 +02:00
Pierre Tachoire
2d24e3c7f7
Merge pull request #972 from lightpanda-io/fetch
...
Fetch + ReadableStream
2025-09-18 09:29:05 +02:00
Karl Seguin
cdb3f46506
Merge pull request #1059 from lightpanda-io/user_agent_suffix
...
Add --user_agent_suffix argument
2025-09-18 15:06:21 +08:00
Karl Seguin
e225ed9f19
fix for telemetry and one-off requests
2025-09-18 11:40:25 +08:00
Karl Seguin
17bebf4f3a
Merge pull request #1058 from lightpanda-io/test_doctype
...
Give tests <!DOCTYPE html> so they work correct in browser
2025-09-18 11:29:31 +08:00
Karl Seguin
26550129ea
Add --user_agent_suffix argument
...
Allows appending a value (separated by a space) to the existing Lightpanda/X.Y
user agent.
2025-09-18 11:28:27 +08:00
Karl Seguin
66362c2762
Give tests <!DOCTYPE html> so they work correct in browser
2025-09-18 10:53:29 +08:00
Muki Kiboigo
f6f0e141a1
PeristentPromiseResolver with page lifetime
2025-09-17 12:12:10 -07:00
Muki Kiboigo
f22ee54bd8
use fetch logging scope, clean some comments
2025-09-17 08:46:35 -07:00