Commit Graph

  • 10994b202b ci: use ubuntu latest for all expect nightly build Pierre Tachoire 2024-10-22 14:27:47 +02:00
  • 2aeac1bdeb ci: force ubuntu 22.04 for nightly build Pierre Tachoire 2024-10-22 14:27:10 +02:00
  • f30501ca3c Merge pull request #276 from lightpanda-io/compare-position Pierre Tachoire 2024-10-17 15:06:47 +02:00
  • e67e6e267b Merge pull request #275 from lightpanda-io/fake-css-properties Pierre Tachoire 2024-10-17 15:06:40 +02:00
  • 8dc757ddf3 node: implement getRootNode Pierre Tachoire 2024-10-17 14:43:58 +02:00
  • b64f7d013d node: implement node.compareDocumentPosition Pierre Tachoire 2024-10-17 13:17:59 +02:00
  • 62ec936f1e Merge pull request #215 from lightpanda-io/cdp_basic Francis Bouvier 2024-10-17 10:52:09 +02:00
  • 8d83dfad45 ci: force ubuntu version (24.04) Francis Bouvier 2024-10-17 10:24:00 +02:00
  • e450072f45 ci: add zig v8 version into the cache key Pierre Tachoire 2024-10-16 20:56:32 +02:00
  • 7f08d08a78 Update zig-v8 again Francis Bouvier 2024-10-16 17:46:55 +02:00
  • b0634cd871 Adapt wpt and shell to zig-js-runtime changes Francis Bouvier 2024-10-16 15:21:03 +02:00
  • 462485bfcb Update zig-v8 and zig-js-runtime deps Francis Bouvier 2024-10-16 14:56:04 +02:00
  • 2311765289 Remove some dead code Francis Bouvier 2024-10-16 14:53:50 +02:00
  • 7bc7da5499 browser: back on createPage returning a Page (pointer) Francis Bouvier 2024-10-16 14:53:11 +02:00
  • b712a4771e html: implement empty style property Pierre Tachoire 2024-10-16 10:22:23 +02:00
  • 8e05f09fc8 server, cdp: improve logging Francis Bouvier 2024-10-15 22:57:56 +02:00
  • 84c49fbe34 cdp: ensure there is an ID on each request Francis Bouvier 2024-10-15 17:28:18 +02:00
  • 7750956c7b msg: Add a more complex test case with 2 multipart messages combined Francis Bouvier 2024-10-15 16:07:46 +02:00
  • ea9af210f9 Remove heap allocation for Session Francis Bouvier 2024-10-15 15:52:48 +02:00
  • efca71510a browser: put back VM is an arg for browser init Francis Bouvier 2024-10-12 10:39:48 +02:00
  • cbf6348055 server: panic if sendInspector without an inspector Francis Bouvier 2024-10-12 10:38:53 +02:00
  • ec680593b0 msg: set a hard limit max size Francis Bouvier 2024-10-11 18:13:20 +02:00
  • fd6c25daaa msg: improve comments on reallocation Francis Bouvier 2024-10-11 18:05:04 +02:00
  • 4b495f213f cdp: add comment on hard coded ID for page.createIsolatedWorld Francis Bouvier 2024-10-09 15:21:09 +02:00
  • 7ad03fb548 cdp: fix a comment on page.navigate Francis Bouvier 2024-10-09 15:18:55 +02:00
  • 17c641845e msg: return error if input does not have "size:" Francis Bouvier 2024-10-09 15:13:06 +02:00
  • e53b9d984b browser: add comment for auxData param in page.navigate Francis Bouvier 2024-10-09 15:10:30 +02:00
  • 28593d93ff browser: panic if callInspector without Inspector Francis Bouvier 2024-10-09 12:47:14 +02:00
  • fa4920bd94 browser: rename setInspector -> initInspector Francis Bouvier 2024-10-09 12:45:28 +02:00
  • eaf5c6f86f cdp: ensure method action is present Francis Bouvier 2024-10-09 12:40:17 +02:00
  • 0d89b98bad cdp: ensure token is a string when needed in parser Francis Bouvier 2024-10-09 12:35:56 +02:00
  • bf56345e48 msg: comments typos Francis Bouvier 2024-10-09 12:19:35 +02:00
  • 2bc58bebce server: rename public -> jsruntime Francis Bouvier 2024-10-09 12:11:43 +02:00
  • c564702eac server: formatting Francis Bouvier 2024-10-09 12:10:54 +02:00
  • 9400dd799e Add cli options for server (host, port, timeout) Francis Bouvier 2024-10-09 12:06:39 +02:00
  • ff0bbc3f96 server: simplify Send I/O Francis Bouvier 2024-10-09 01:21:24 +02:00
  • 15414f5ee4 server: remove unused sendLater Francis Bouvier 2024-10-09 01:00:12 +02:00
  • f9b097794f Simplify browser session.setInspector Francis Bouvier 2024-10-09 00:58:13 +02:00
  • a2f65eb540 server: simplify onInspector methods Francis Bouvier 2024-10-09 00:22:41 +02:00
  • cea38a10e9 server: rename buf in read_buf Francis Bouvier 2024-10-09 00:07:49 +02:00
  • c8a91d4cf6 server: merge Cmd and Accept in Ctx Francis Bouvier 2024-10-09 00:01:49 +02:00
  • b0ff325125 server: move to TCP conn Francis Bouvier 2024-10-08 23:44:47 +02:00
  • c35c09db60 server: timeout mechanism Francis Bouvier 2024-10-08 23:40:50 +02:00
  • 49adb61146 server: handle close and re-open connection Francis Bouvier 2024-10-08 16:22:24 +02:00
  • 76a9034668 server: newSession on disposeBrowserContext Francis Bouvier 2024-10-07 21:14:55 +02:00
  • 4c225e515d server: let the caller of sendSync free the string Francis Bouvier 2024-10-07 16:04:29 +02:00
  • 9c913b2e6c Move loop outside Browser Francis Bouvier 2024-10-07 15:57:16 +02:00
  • 5ab1d2a8a5 Add License in new cdp files Francis Bouvier 2024-10-01 18:02:21 +02:00
  • 2f3a581859 Add TODOs and comments Francis Bouvier 2024-10-01 17:48:54 +02:00
  • 8bdd2a14e8 Add Target.disposeBrowserContext Francis Bouvier 2024-10-01 17:13:47 +02:00
  • 1675f69582 Add Target.closeTarget Francis Bouvier 2024-10-01 17:13:29 +02:00
  • 94d2d28806 Redirect Runtime domain to JS engine Inspector Francis Bouvier 2024-10-01 17:12:08 +02:00
  • dabded8d1e build: add -Dx86 option to enable x86 backend x86-backend Pierre Tachoire 2024-06-19 09:23:33 +02:00
  • 14a3a662fd Fix response of runtime.Evaluate Francis Bouvier 2024-07-09 16:10:25 +02:00
  • 41409031fd Adapt to refacto in js_exec from zig-js-runtime Francis Bouvier 2024-07-08 22:51:41 +02:00
  • ea410c8ced Fix changes in Zig 0.12 std lib Francis Bouvier 2024-06-20 00:32:06 +02:00
  • aca64eedca Uniformize calling name conventions Francis Bouvier 2024-06-19 15:56:44 +02:00
  • 0f8b47b598 Move MsgBuffer in it's own file for unit test purpose Francis Bouvier 2024-06-19 15:48:20 +02:00
  • 5eae15889d Add some optional fields in Runtime.evaluate Francis Bouvier 2024-06-19 15:23:09 +02:00
  • 9319e4a7f1 Handle Runtime.callFunctionOn Francis Bouvier 2024-06-17 16:35:22 +02:00
  • 4d756b5bfc Add a dumpFile utility function Francis Bouvier 2024-06-17 16:34:47 +02:00
  • 409969621d Add Runtime.addBinding Francis Bouvier 2024-06-12 17:56:54 +02:00
  • 7abb7277c9 Fix call to Runtime.executionContextCreated in Page.navigate Francis Bouvier 2024-06-12 17:56:07 +02:00
  • 9120b9c1de Add emulation.setTouchEmulationEnabled Francis Bouvier 2024-06-07 16:19:08 +02:00
  • 08c11ac41f Add performance.enable Francis Bouvier 2024-06-07 16:16:15 +02:00
  • cecc03e1ed Add fetch.disable Francis Bouvier 2024-06-07 16:12:31 +02:00
  • 7d67d131c2 Add network.setCacheDisabled Francis Bouvier 2024-06-07 16:08:49 +02:00
  • 1929eed8ac Add contextID in state Francis Bouvier 2024-06-07 16:03:12 +02:00
  • ad8c9fac2b Add target.setDiscoverTargets Francis Bouvier 2024-06-07 16:02:37 +02:00
  • fa82160265 Add target.getBrowserContexts Francis Bouvier 2024-06-07 16:02:02 +02:00
  • dc1456f4e8 Handle CDP messages with different order Francis Bouvier 2024-06-07 15:59:57 +02:00
  • 3ad19dffa1 Handle CDP msg with order <id, method> and <method, id> Francis Bouvier 2024-05-30 17:43:01 +02:00
  • bfb9db235e Basic Runtime.evaluate run Francis Bouvier 2024-05-30 16:21:18 +02:00
  • c57e50c5b9 Handle Runtime.evaluate (no-op) Francis Bouvier 2024-05-27 16:02:14 +02:00
  • bafdca3ffa MsgBuffer to handle both combined and multipart read Francis Bouvier 2024-05-22 16:24:39 +02:00
  • ba12945e5b Move read input from Cmd callback to allow unit tests Francis Bouvier 2024-04-24 11:17:55 +02:00
  • 96906df64b Implement own protocol to handle msg size Francis Bouvier 2024-04-23 12:48:35 +02:00
  • 3396c70b67 Send Runtime.executionContextCreated events in Page.navigate Francis Bouvier 2024-04-23 10:44:33 +02:00
  • 28d5c682cd Use sendEvent in Runtime.executionContextCreated and expose it Francis Bouvier 2024-04-23 10:44:03 +02:00
  • 7a03562a33 Typo fix Page.LifecycleEvent Francis Bouvier 2024-04-23 10:43:11 +02:00
  • 4a31dd8aa3 Let Page.navigate do actually navigation Francis Bouvier 2024-04-19 17:13:32 +02:00
  • 1b1b7cdfb0 Add page_life_cycle_events in CDP state Francis Bouvier 2024-04-19 17:12:37 +02:00
  • 9e13ffb8ff Add sendEvent utility function Francis Bouvier 2024-04-19 17:11:31 +02:00
  • ed38705efd Basic version using Browser Francis Bouvier 2024-04-19 11:57:44 +02:00
  • 1a1cd0353c Add dummy Page.navigate Francis Bouvier 2024-04-19 11:36:02 +02:00
  • 4f0b071c59 Fix getContent algo Francis Bouvier 2024-04-19 11:35:47 +02:00
  • 9ce574a1f0 Add Page.createIsolatedWorld Francis Bouvier 2024-04-18 21:57:31 +02:00
  • c54b50eb0c Add Browser.setWindowBounds Francis Bouvier 2024-04-18 21:52:06 +02:00
  • aec7455151 Add Emulation.setDeviceMetricsOverride Francis Bouvier 2024-04-18 21:46:43 +02:00
  • c7ba567d7f Handle non-empty void params in getContent Francis Bouvier 2024-04-18 21:45:46 +02:00
  • fc1b3d5397 Contextual frameTree Francis Bouvier 2024-04-18 20:54:30 +02:00
  • 508741c367 Add Browser.getWindowForTarget Francis Bouvier 2024-04-18 20:53:18 +02:00
  • f02de77295 Add getContent Francis Bouvier 2024-04-18 20:38:27 +02:00
  • 9974b56607 Add Target.createTarget Francis Bouvier 2024-04-18 16:43:19 +02:00
  • 0506a7bb53 Add Browser.createBrowserContext Francis Bouvier 2024-04-18 16:14:19 +02:00
  • 06f161c423 Add Target.getTargetInfo Francis Bouvier 2024-04-18 13:20:23 +02:00
  • 69f5bb9ed3 Add sessionId in Runime.runIfWaitingForDebugger response Francis Bouvier 2024-04-18 13:18:51 +02:00
  • 490eb40028 Add method cdp function Francis Bouvier 2024-04-18 13:18:16 +02:00
  • 43a558f5ae Make getParams return nullable Francis Bouvier 2024-04-18 12:10:20 +02:00
  • e4ae2df1a4 Add some optional params in methods Francis Bouvier 2024-04-18 11:57:39 +02:00