Commit Graph

1036 Commits

Author SHA1 Message Date
Francis Bouvier
9319e4a7f1 Handle Runtime.callFunctionOn
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-17 16:35:22 +02:00
Francis Bouvier
4d756b5bfc Add a dumpFile utility function
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-17 16:34:47 +02:00
Francis Bouvier
409969621d Add Runtime.addBinding
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-12 17:56:54 +02:00
Francis Bouvier
7abb7277c9 Fix call to Runtime.executionContextCreated in Page.navigate
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-12 17:56:07 +02:00
Francis Bouvier
152a4e5e7f Merge pull request #241 from lightpanda-io/README
Add a status section in the README
2024-06-11 16:55:28 +02:00
Francis Bouvier
e6f4b9cc66 Update README.md
Co-authored-by: Pierre Tachoire <pierre@lightpanda.io>
2024-06-11 16:55:18 +02:00
Francis Bouvier
67c8647e25 Add a status section in the README
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-11 16:35:00 +02:00
Francis Bouvier
9120b9c1de Add emulation.setTouchEmulationEnabled
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-07 16:19:08 +02:00
Francis Bouvier
08c11ac41f Add performance.enable
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-07 16:16:15 +02:00
Francis Bouvier
cecc03e1ed Add fetch.disable
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-07 16:12:31 +02:00
Francis Bouvier
7d67d131c2 Add network.setCacheDisabled
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-07 16:08:49 +02:00
Francis Bouvier
1929eed8ac Add contextID in state
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-07 16:03:12 +02:00
Francis Bouvier
ad8c9fac2b Add target.setDiscoverTargets
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2024-06-07 16:02:37 +02:00
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