Muki Kiboigo
bc9f0b961d
check cached dynamic module first
2025-07-30 15:40:52 -07:00
Karl Seguin
7969e047c7
Merge pull request #909 from lightpanda-io/zig_fmt
...
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
zig fmt
2025-07-22 08:05:50 +08:00
Karl Seguin
f0d6d9d177
zig fmt
2025-07-22 07:57:17 +08:00
Karl Seguin
0b793d82fe
Merge pull request #907 from lightpanda-io/array_buffer_as_u8_slice
...
Map ArrayBuffer and ArrayBufferView to u8.
2025-07-22 07:13:57 +08:00
Karl Seguin
f6d51462eb
Merge pull request #906 from lightpanda-io/text_decoder
...
Add TextDecoder (utf8 support only)
2025-07-22 07:13:21 +08:00
Karl Seguin
5bdacbab61
Merge pull request #903 from lightpanda-io/MessageChannel
...
Add MessageChannel
2025-07-22 07:13:07 +08:00
Karl Seguin
e239cc962b
Merge pull request #904 from lightpanda-io/minor-refactor-prep-for-tls
...
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
Minor refactor prep for tls
2025-07-21 20:55:35 +08:00
sjorsdonkers
6ebd4fcf5b
fix unencrypted keepalive
2025-07-21 14:28:53 +02:00
Karl Seguin
ef427fa966
Map ArrayBuffer and ArrayBufferView to u8.
...
Depends on https://github.com/lightpanda-io/zig-v8-fork/pull/86
Built ontop of https://github.com/lightpanda-io/browser/pull/906 just because
this is the feature that uses it.
2025-07-21 19:46:57 +08:00
Karl Seguin
f4383a11d7
Merge pull request #905 from lightpanda-io/scheme_only_url
...
Allow scheme-only URLs
2025-07-21 19:36:24 +08:00
Karl Seguin
77b6377473
Add TextDecoder (utf8 support only)
2025-07-21 16:29:42 +08:00
Karl Seguin
7bf3cf999f
Allow scheme-only URLs
...
new URL('sveltekit-internal://') is valid. Used by amazon.
2025-07-21 15:46:23 +08:00
sjorsdonkers
4ab611de0c
minor refactor prep for tls
2025-07-21 09:30:22 +02:00
Karl Seguin
d7745a418f
Merge pull request #902 from lightpanda-io/window_DOMContentLoaded
...
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
Trigger the DOMContentLoaded on the Window
2025-07-19 08:51:12 +08:00
Karl Seguin
058a5a43ba
Add MessageChannel
2025-07-18 16:47:04 +08:00
Karl Seguin
878dbd81b1
Merge pull request #901 from lightpanda-io/url_stitch
...
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
Rework URL.stitch, handle ../ (for yahoo)
2025-07-17 21:44:24 +08:00
Karl Seguin
3c64ed1eb2
Merge pull request #899 from lightpanda-io/element_remove
...
Add element.remove() (needed by reddit)
2025-07-17 21:44:08 +08:00
Karl Seguin
ee50f1238c
Trigger the DOMContentLoaded on the Window
...
This is hacky, but it's inspired by how NetSurf does it. While the Window isn't
the parent of the Document, many events should bubble from the Document to the
Window. libdom simply doesn't handle this (it has no concept of a Window, and
the Document has no parent).
We potentially need to do this for multiple event types (NetSurf only does it
for the 'load' event as far as I can tell). It would be nice to find a generic
way to do this...maybe intercept any addEventListener on the body and
registering special events on the Window? For now, `DOMContentLoaded` is the
blocking (for finance.yahoo.com) and we can see if this is really an issue for
other event types.
2025-07-17 21:38:54 +08:00
Karl Seguin
1af2513fc0
zig fmt
2025-07-17 20:52:15 +08:00
Karl Seguin
9c0d26bc84
add note about incomplete removal
2025-07-17 20:51:05 +08:00
Karl Seguin
4d9053a83b
Update src/url.zig
...
Co-authored-by: Sjors <72333389+sjorsdonkers@users.noreply.github.com >
2025-07-17 20:45:42 +08:00
Karl Seguin
3f7e98c277
Update src/url.zig
...
Co-authored-by: Sjors <72333389+sjorsdonkers@users.noreply.github.com >
2025-07-17 20:45:35 +08:00
Karl Seguin
aebc877e7b
Merge pull request #900 from lightpanda-io/getDocument_depth
...
support `depth` parameter for DOM.getDocument
2025-07-17 20:44:58 +08:00
Karl Seguin
eef5f3fec2
support null params to CDP DOM.getDocument
2025-07-17 19:05:17 +08:00
Karl Seguin
16a1677fde
Rework URL.stitch, handle ../ (for yahoo)
...
Also handle ./ anywhere in the path.
2025-07-17 17:54:00 +08:00
Karl Seguin
f199816fcd
support depth parameter for DOM.getDocument
2025-07-17 14:17:33 +08:00
Karl Seguin
5e74e17b41
Merge pull request #888 from lightpanda-io/cdp_dom_requestChildNodes
...
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
Add support for CDP's DOM.requestChildNodes
2025-07-17 10:48:24 +08:00
Karl Seguin
98b041e84a
requestChildNode cannot have a depth of 0
2025-07-17 10:36:20 +08:00
Karl Seguin
bba9c8f652
Add element.remove() (needed by reddit)
2025-07-17 10:00:38 +08:00
Karl Seguin
1a05fe6ae1
Merge pull request #887 from lightpanda-io/go_rod
...
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
Noop CDP methods that go-rod requires
2025-07-16 20:01:03 +08:00
sjorsdonkers
16fcbf66ee
http_proxy_before ?? comment
2025-07-16 11:20:00 +02:00
Karl Seguin
b7fd4e90e2
Merge pull request #894 from lightpanda-io/HTMLStyleElement_get_sheet
...
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
add HTMLStyleElement.get_sheet
2025-07-16 10:34:37 +08:00
Karl Seguin
b6341c10cc
Merge pull request #892 from lightpanda-io/set_timeout_params
...
Support params for setTimeout and setInterval
2025-07-16 08:17:11 +08:00
Karl Seguin
08487b0fcc
Merge pull request #891 from lightpanda-io/reattach_shadowroot
...
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 childElementCount and children to DocumentFragment
2025-07-15 23:36:26 +08:00
muki
b084dde22a
Merge pull request #872 from lightpanda-io/dynamic-import
2025-07-15 08:31:52 -07:00
Karl Seguin
5229a7c997
Merge pull request #897 from lightpanda-io/animate
...
Add Element.animate and Animation
2025-07-15 23:09:08 +08:00
Karl Seguin
e56c56e2fe
Merge pull request #895 from lightpanda-io/performance_clear
...
dummy performance clearMarks and clearMeasures
2025-07-15 21:40:31 +08:00
Karl Seguin
7374f956cf
Merge pull request #896 from lightpanda-io/dont_send_after_disconnect
...
Don't queue data to send after we've initiated a disconnect of the cl…
2025-07-15 21:29:01 +08:00
Muki Kiboigo
287df42994
log module specifier on dynamic import stages
2025-07-15 06:22:52 -07:00
Muki Kiboigo
06e514cc2e
use resource_str for stitching url
2025-07-15 06:22:52 -07:00
Muki Kiboigo
dffd8b5fec
use module() for dynamic imports
2025-07-15 06:22:52 -07:00
Muki Kiboigo
2a87337875
dynamicImportCallback in JsContext
2025-07-15 06:22:50 -07:00
Karl Seguin
a74f79118f
Merge pull request #893 from lightpanda-io/dump_noscript
...
Add a --noscript option to "improve" --dump
2025-07-15 21:22:33 +08:00
Muki Kiboigo
a13ed0bec3
add dynamic import callback to isolate
2025-07-15 06:22:13 -07:00
Karl Seguin
f8ca45f0f2
Add Element.animate and Animation
...
These are dummy implementations, but they do expose the ready and finished
promise, and do resolve the finished promise, so it should unblock basic cases.
2025-07-15 18:58:58 +08:00
Karl Seguin
4bf92a34f6
Don't queue data to send after we've initiated a disconnect of the client
2025-07-15 17:58:57 +08:00
Karl Seguin
4f1c84004a
dummy performance clearMarks and clearMeasures
2025-07-15 12:11:28 +08:00
Karl Seguin
1bd430598d
add HTMLStyleElement.get_sheet
2025-07-15 10:59:59 +08:00
Karl Seguin
3bc654bf97
Merge pull request #890 from lightpanda-io/xhr_cant_block_sync_requests
...
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
Always make sure we have 1 free http state available for synchronous …
2025-07-15 10:08:54 +08:00
Karl Seguin
3906acb83d
fix test
2025-07-14 18:42:25 +08:00