Commit Graph

1023 Commits

Author SHA1 Message Date
Francis Bouvier
fa82160265 Add target.getBrowserContexts
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-07 16:02:02 +02:00
Francis Bouvier
dc1456f4e8 Handle CDP messages with different order
The 'method' still needs to be the first or the second key
(in this case after the 'id').

Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-07 15:59:57 +02:00
Francis Bouvier
3ad19dffa1 Handle CDP msg with order <id, method> and <method, id>
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-05-30 17:43:01 +02:00
Francis Bouvier
bfb9db235e Basic Runtime.evaluate run
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-05-30 16:21:18 +02:00
Francis Bouvier
c57e50c5b9 Handle Runtime.evaluate (no-op)
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-05-27 16:02:14 +02:00
Pierre Tachoire
9fe56c5889 Merge pull request #240 from lightpanda-io/wpt-wait
Wpt wait
2024-05-23 15:24:38 +02:00
Pierre Tachoire
77bf332f13 wpt: split script exec and wait loop 2024-05-23 15:11:24 +02:00
Pierre Tachoire
b4f445183c wpt: add log.debug method in pure JS 2024-05-23 15:11:24 +02:00
Pierre Tachoire
38d48d7515 upgrade zig-js-runtime 2024-05-23 15:11:24 +02:00
Francis Bouvier
bafdca3ffa MsgBuffer to handle both combined and multipart read
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-05-22 16:24:39 +02:00
Pierre Tachoire
c5776f0ae6 Merge pull request #231 from lightpanda-io/browser-wait
browser: extract loop wait
2024-05-22 15:18:00 +02:00
Pierre Tachoire
7a6d929f08 browser: add wait to run the loop 2024-05-22 15:13:23 +02:00
Pierre Tachoire
11f7fc4550 Merge pull request #227 from lightpanda-io/listener-error
event: log listeners errors and continue execution
2024-05-22 15:11:34 +02:00
Pierre Tachoire
d50f761c8f event: log listeners errors and continue execution 2024-05-22 15:07:49 +02:00
Pierre Tachoire
23dafb0f12 Merge pull request #216 from lightpanda-io/usrctx
Add user context
2024-05-22 15:07:02 +02:00
Pierre Tachoire
9ac46ea0cb upgrade zig-js-runtime 2024-05-22 14:59:36 +02:00
Pierre Tachoire
00d75584db usrctx: use ctx http client with xhr 2024-05-22 14:58:48 +02:00
Pierre Tachoire
c2e64c131a userctx: document is not opational anymore 2024-05-22 14:56:41 +02:00
Pierre Tachoire
840aea9013 dom: fix document creation process 2024-05-22 14:56:41 +02:00
Pierre Tachoire
bf522937e1 shell: add missing try 2024-05-22 14:56:41 +02:00
Pierre Tachoire
7d91f7992c dom: first draft for hierachy check in nodes 2024-05-22 14:56:40 +02:00
Pierre Tachoire
b2df0c1541 dom: implement document fragment constructor 2024-05-22 14:56:40 +02:00
Pierre Tachoire
d823eebce5 dom: remove useless TODO 2024-05-22 14:56:40 +02:00
Pierre Tachoire
55b80ecd15 dom: implement text constructor 2024-05-22 14:56:39 +02:00
Pierre Tachoire
14e1c44eb0 dom: implement comment constructor 2024-05-22 14:56:29 +02:00
Pierre Tachoire
eef2fa94d0 text: return error on constructor
Blocked by #102
2024-05-22 14:45:40 +02:00
Pierre Tachoire
49ee5e4e68 comment: return error on constructor
Blocked by https://github.com/lightpanda-io/browsercore/issues/102
2024-05-22 14:45:39 +02:00
Pierre Tachoire
b7f589ee1a dom: fix document constructor 2024-05-22 14:45:39 +02:00
Pierre Tachoire
e18d04a799 userctx: inject user context 2024-05-22 14:45:34 +02:00
Francis Bouvier
c1b73dfdc2 Merge pull request #239 from lightpanda-io/update_readme
Add benchmark graph in the README
2024-05-17 18:36:48 +02:00
Francis Bouvier
63e3f8d48a Add benchmark graph in the README
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-05-17 18:29:58 +02:00
Pierre Tachoire
194328f2de Merge pull request #238 from lightpanda-io/update_readme
Update README
2024-05-16 07:41:22 +02:00
Francis Bouvier
0636240a58 Update README
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-05-15 18:10:05 +02:00
Pierre Tachoire
7ec5a8d15b Merge pull request #234 from lightpanda-io/html-anchor
dom: add target and href accessors to anchor
2024-05-14 16:23:37 +02:00
Pierre Tachoire
ead08557bf script: implement interface 2024-05-14 16:19:22 +02:00
Pierre Tachoire
6d808d89b0 anchor: implement set_host 2024-05-14 13:44:27 +02:00
Pierre Tachoire
6b42b5abdd anchor: implement HTMLHyperlinkElementUtils interface
https://html.spec.whatwg.org/#htmlhyperlinkelementutils
2024-05-14 13:44:27 +02:00
Pierre Tachoire
e12d6e85f0 url: add origin getter 2024-05-14 13:44:26 +02:00
Pierre Tachoire
7da440e9d3 anchro: implement url manipulation 2024-05-14 13:44:26 +02:00
Pierre Tachoire
d93a065db9 url: improve url format 2024-05-14 13:44:26 +02:00
Pierre Tachoire
8d6ee42096 anchor: follow up 2024-05-14 13:44:25 +02:00
Pierre Tachoire
df6a905683 dom: add target and href accessors to anchor 2024-05-14 13:44:16 +02:00
Francis Bouvier
88c9875664 Merge pull request #237 from lightpanda-io/zig-js-runtime_rename
Update dependancy jsruntime-lib -> zig-js-runtime
2024-05-14 13:14:05 +02:00
Pierre Tachoire
5fbbf1b59f readme: fix zig-js-runtime step 2024-05-14 12:22:13 +02:00
Pierre Tachoire
f040f422e4 ci: rename jsruntime-lib into zig-js-runtime 2024-05-14 12:18:24 +02:00
Francis Bouvier
986e69f45d Update dependancy jsruntime-lib -> zig-js-runtime
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-05-14 11:35:23 +02:00
Pierre Tachoire
deed0546cc Merge pull request #236 from lightpanda-io/license-source
add AGPL license header in zig files
2024-05-14 08:45:44 +02:00
Pierre Tachoire
2a3a243d1c add AGPL license header in zig files 2024-05-13 20:51:36 +02:00
Pierre Tachoire
eba1a715b1 Merge pull request #235 from lightpanda-io/open
add AGPL license
2024-05-13 14:46:47 +02:00
Pierre Tachoire
973ebcb7b5 add AGPL license 2024-05-13 12:10:15 +02:00