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
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
Muki Kiboigo
d13d28e6f4
use single pointer to parser.MouseEvent
2025-05-27 20:55:54 +02:00
Muki Kiboigo
c438bb2fbe
fix style of MouseEvent interface
2025-05-27 20:55:54 +02:00
Muki Kiboigo
5f4dd43124
support int enums in jsValueToZig
2025-05-27 20:55:54 +02:00
Muki Kiboigo
e7f16f371c
add MouseEvent
2025-05-27 20:55:54 +02:00
Karl Seguin
d7a3e2f450
Merge pull request #694 from lightpanda-io/add_event_listener_object
...
AddEventListener object listener
2025-05-27 21:05:52 +08:00
Karl Seguin
9ce3fc9f8e
Refactor events
...
Removes some duplication between xhr/event_target and dom/event_target.
Implement 'once' option of addEventListener.
2025-05-27 21:03:43 +08:00
Karl Seguin
f0017c3e92
No-op eventHandler's passive option
...
This is a hint to the brower that the listener won't call preventDefault. In
theory, we should enforce this. But in practice, ignoring it should be ok.
2025-05-27 20:59:16 +08:00
Karl Seguin
99b7508c7a
support object listener on removeEventListener also
2025-05-27 20:59:16 +08:00
Karl Seguin
cff8857a36
AddEventListener object listener
...
Instead of taking a callback function, addEventListener can take an object
that exposes a `handleEvent` function. When used this way, `this` is
automatically bound. I don't think the current behavior is correct when
`handleEvent` is defined as a property (getter), but I couldn't figure out how
to make it work the way WPT expects, and it hopefully isn't a common usage
pattern.
Also added option support to removeEventListener.
2025-05-27 20:59:14 +08:00
Karl Seguin
60395852d5
Merge pull request #706 from lightpanda-io/cookie-domain-localhost
...
cookies: accept localhost domain
2025-05-27 20:55:21 +08:00
Karl Seguin
edf125b4ba
Merge pull request #705 from lightpanda-io/page_as_state
...
Replace SessionState directly with the Page.
2025-05-27 20:55:01 +08:00
Pierre Tachoire
b731fa4b78
cookie: ignore case when comparing with localhost domain
...
Co-authored-by: Karl Seguin <karlseguin@users.noreply.github.com >
2025-05-27 14:31:59 +02:00
Karl Seguin
676e6ecec1
fix/revert debug code
2025-05-27 20:31:37 +08:00
Karl Seguin
7d9951aa3c
Replace SessionState directly with the Page.
2025-05-27 20:31:34 +08:00
Karl Seguin
1d0876af4d
Merge pull request #691 from lightpanda-io/logger
...
Replace std.log with a structured logger
2025-05-27 20:24:07 +08:00
Pierre Tachoire
c6f23eee77
cookies: accept localhost domain
2025-05-27 14:11:32 +02:00
Karl Seguin
8d3cf04324
re-enable log tests
2025-05-27 19:57:58 +08:00
Karl Seguin
fe9344ce57
Try stateless logger (to save memory)
2025-05-27 19:57:58 +08:00
Karl Seguin
d7c4824633
remove unused init, and remove magic pre-alloc
2025-05-27 19:57:58 +08:00
Karl Seguin
2feba3182a
Replace std.log with a structured logger
...
Outputs in logfmt in release and a "pretty" print in debug mode. The format
along with the log level will become arguments to the binary at some point in
the future.
2025-05-27 19:57:58 +08:00
Pierre Tachoire
e9920caa69
Merge pull request #703 from lightpanda-io/window_top
...
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
Simple window.top implementation (not frame-aware)
2025-05-27 09:48:52 +02:00
Karl Seguin
9bcaaab9d7
Simple window.top implementation (not frame-aware)
2025-05-27 15:25:27 +08:00
Pierre Tachoire
d47db317fb
Merge pull request #702 from lightpanda-io/ci-bench
...
ci: execute cdp bench on main only
2025-05-27 06:48:31 +02:00
Pierre Tachoire
287d0fad85
Merge pull request #701 from lightpanda-io/s3-nightly
...
ci: use GLACIER IR class storage for release
2025-05-27 06:40:35 +02:00
Pierre Tachoire
7c19de3d61
ci: execute cdp bench on main only
2025-05-27 06:38:14 +02:00
Pierre Tachoire
a76cdf7514
ci: use GLACIER IR class storage for release
2025-05-27 06:34:24 +02:00
Karl Seguin
9abead7c49
Merge pull request #690 from lightpanda-io/zig_0_14_1
...
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
Upgrade to Zig 0.14.1
2025-05-27 08:11:33 +08:00
Pierre Tachoire
5ff3f71f83
Merge pull request #700 from lightpanda-io/s3-nightly
...
S3 nightly
2025-05-26 21:57:31 +02:00
Pierre Tachoire
e2f9ca66b6
ci: upload artifact on s3
2025-05-26 21:43:14 +02:00
Pierre Tachoire
e90048e5a8
Merge pull request #696 from lightpanda-io/cli_argument_name_fix
...
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
Fix insecure_disable_tls_host_verification in serve more
2025-05-26 20:35:21 +02:00
Pierre Tachoire
eb1795aff9
Merge pull request #699 from lightpanda-io/bench-runner
...
ci: add missing AWS creds
2025-05-26 18:59:11 +02:00
Pierre Tachoire
3a92f93e6f
ci: add missing AWS creds
2025-05-26 18:58:41 +02:00
Pierre Tachoire
d1bd358785
Merge pull request #698 from lightpanda-io/bench-runner
...
ci: refacto e2e http start/stop
2025-05-26 18:53:53 +02:00
Pierre Tachoire
f63ea62f2d
ci: refacto e2e http start/stop
2025-05-26 18:30:51 +02:00
Pierre Tachoire
3fd5ed4feb
Merge pull request #697 from lightpanda-io/bench-runner
...
ci:fix deps
2025-05-26 18:22:25 +02:00
Pierre Tachoire
ba7df8b9cf
ci:fix deps
2025-05-26 18:21:59 +02:00
Pierre Tachoire
18b97df619
Merge pull request #693 from lightpanda-io/bench-runner
...
ci: add cdp-bench
2025-05-26 18:20:30 +02:00
Pierre Tachoire
087d23269b
ci: add hyperfine test
2025-05-26 18:07:05 +02:00
Karl Seguin
c77fb98b1f
Fix insecure_disable_tls_host_verification in serve more
...
It's currently using `--insecure_tls_verify_host` which is inconsistent with
fetch-mode and not what the help text says.
2025-05-26 22:42:42 +08:00
Pierre Tachoire
8c1f38f74d
ci: e2e: build release w/ -Dcpu=x86_64 option
2025-05-26 13:16:36 +02:00
Pierre Tachoire
13091e0de4
ci: add cdp-bench
...
The cdp bench is run on self host machine.
2025-05-26 13:16:36 +02:00
Karl Seguin
1a72bf5962
Merge pull request #692 from lightpanda-io/get_computed_style
...
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
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
make getComptedStyle return an empty CSSStyleDeclaration
2025-05-26 17:24:31 +08:00
Karl Seguin
b8cd0c1a77
remove debug statement
2025-05-26 15:43:21 +08:00
Karl Seguin
ecd593fb53
Add dummy Element.checkVisibility
...
`checkVisibility` currently always return true. Also, when the visibility CSS
property is checked, always return 'visible'. This allows the playwright click
test to pass with a working getComputedStyle. It's also probably more accurate -
by default, most elements are probably visible. But it still isn't great.
Add named_get to CSSStyleDeclaration (allowing things like `style.display`).
2025-05-26 15:08:25 +08:00
Karl Seguin
b17f20e2c5
make getComptedStyle return an empty CSSStyleDeclaration
2025-05-26 11:16:51 +08:00
Karl Seguin
eae9f9ceee
Merge pull request #664 from lightpanda-io/treewalker
...
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
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
Add TreeWalker
2025-05-26 11:06:56 +08:00
Karl Seguin
d2c13ed32b
Merge pull request #680 from lightpanda-io/css_style_declaration
...
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
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
CSSStyleDeclaration implementation
2025-05-25 19:34:20 +08:00