-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CDP basic #215
base: main
Are you sure you want to change the base?
CDP basic #215
Commits on Apr 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c57bb9e - Browse repository at this point
Copy the full SHA c57bb9eView commit details -
Remove alloc from CmdContext struct
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for babac69 - Browse repository at this point
Copy the full SHA babac69View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for defab0c - Browse repository at this point
Copy the full SHA defab0cView commit details -
Working sendLater (I/O timeout)
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cfd6fc9 - Browse repository at this point
Copy the full SHA cfd6fc9View commit details -
Handle concurrent calls to sendLater
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 95a64b7 - Browse repository at this point
Copy the full SHA 95a64b7View commit details -
Use send as normal behavior in cmdCallback
+ add nanoseconds param in sendLater Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e908cb0 - Browse repository at this point
Copy the full SHA e908cb0View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ffbfd36 - Browse repository at this point
Copy the full SHA ffbfd36View commit details -
send Target.attachedToTarget after Target.setAutoAttach
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5e1fe65 - Browse repository at this point
Copy the full SHA 5e1fe65View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9805710 - Browse repository at this point
Copy the full SHA 9805710View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b124220 - Browse repository at this point
Copy the full SHA b124220View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a708a7f - Browse repository at this point
Copy the full SHA a708a7fView commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 626fae0 - Browse repository at this point
Copy the full SHA 626fae0View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e073e33 - Browse repository at this point
Copy the full SHA e073e33View commit details -
Add Page.setLifecycleEventsEnabled
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0a03dcb - Browse repository at this point
Copy the full SHA 0a03dcbView commit details -
Add Page.addScriptToEvaluateOnNewDocument
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 86b1c85 - Browse repository at this point
Copy the full SHA 86b1c85View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aff2250 - Browse repository at this point
Copy the full SHA aff2250View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 67bbd99 - Browse repository at this point
Copy the full SHA 67bbd99View commit details
Commits on Apr 16, 2024
-
Handle several JSON msg in 1 read
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 211fa3d - Browse repository at this point
Copy the full SHA 211fa3dView commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 26eda90 - Browse repository at this point
Copy the full SHA 26eda90View commit details -
Add Runtime.runIfWaitingForDebugger
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 36dbc28 - Browse repository at this point
Copy the full SHA 36dbc28View commit details -
Allow method with sessionId and use it when appropriate (*.enable)
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9e8b765 - Browse repository at this point
Copy the full SHA 9e8b765View commit details -
Change Page.addScriptToEvaluateOnNewDocument
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05c5d06 - Browse repository at this point
Copy the full SHA 05c5d06View commit details
Commits on Apr 17, 2024
-
Do not emit optional null value in JSON output
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 21afa1f - Browse repository at this point
Copy the full SHA 21afa1fView commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4d8cdc6 - Browse repository at this point
Copy the full SHA 4d8cdc6View commit details
Commits on Apr 18, 2024
-
Return a result in Page.getFrameTree
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e59fc90 - Browse repository at this point
Copy the full SHA e59fc90View commit details -
Return sessionId in Emulation.setFocusEmulationEnabled
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1620138 - Browse repository at this point
Copy the full SHA 1620138View commit details -
Add some optional params in methods
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e4ae2df - Browse repository at this point
Copy the full SHA e4ae2dfView commit details -
Make getParams return nullable
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 43a558f - Browse repository at this point
Copy the full SHA 43a558fView commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 490eb40 - Browse repository at this point
Copy the full SHA 490eb40View commit details -
Add sessionId in Runime.runIfWaitingForDebugger response
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 69f5bb9 - Browse repository at this point
Copy the full SHA 69f5bb9View commit details -
+ do not send attachedToTarget if sessionId Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 06f161c - Browse repository at this point
Copy the full SHA 06f161cView commit details -
Add Browser.createBrowserContext
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0506a7b - Browse repository at this point
Copy the full SHA 0506a7bView commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9974b56 - Browse repository at this point
Copy the full SHA 9974b56View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f02de77 - Browse repository at this point
Copy the full SHA f02de77View commit details -
Add Browser.getWindowForTarget
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 508741c - Browse repository at this point
Copy the full SHA 508741cView commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fc1b3d5 - Browse repository at this point
Copy the full SHA fc1b3d5View commit details -
Handle non-empty void params in getContent
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c7ba567 - Browse repository at this point
Copy the full SHA c7ba567View commit details -
Add Emulation.setDeviceMetricsOverride
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aec7455 - Browse repository at this point
Copy the full SHA aec7455View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c54b50e - Browse repository at this point
Copy the full SHA c54b50eView commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9ce574a - Browse repository at this point
Copy the full SHA 9ce574aView commit details
Commits on Apr 19, 2024
-
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f0b071 - Browse repository at this point
Copy the full SHA 4f0b071View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1a1cd03 - Browse repository at this point
Copy the full SHA 1a1cd03View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ed38705 - Browse repository at this point
Copy the full SHA ed38705View commit details -
Add sendEvent utility function
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9e13ffb - Browse repository at this point
Copy the full SHA 9e13ffbView commit details -
Add page_life_cycle_events in CDP state
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1b1b7cd - Browse repository at this point
Copy the full SHA 1b1b7cdView commit details -
Let Page.navigate do actually navigation
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4a31dd8 - Browse repository at this point
Copy the full SHA 4a31dd8View commit details
Commits on Apr 23, 2024
-
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a03562 - Browse repository at this point
Copy the full SHA 7a03562View commit details -
Use sendEvent in Runtime.executionContextCreated and expose it
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 28d5c68 - Browse repository at this point
Copy the full SHA 28d5c68View commit details -
Send Runtime.executionContextCreated events in Page.navigate
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3396c70 - Browse repository at this point
Copy the full SHA 3396c70View commit details -
Implement own protocol to handle msg size
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 96906df - Browse repository at this point
Copy the full SHA 96906dfView commit details
Commits on Apr 24, 2024
-
Move read input from Cmd callback to allow unit tests
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba12945 - Browse repository at this point
Copy the full SHA ba12945View commit details
Commits on May 22, 2024
-
MsgBuffer to handle both combined and multipart read
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bafdca3 - Browse repository at this point
Copy the full SHA bafdca3View commit details
Commits on May 27, 2024
-
Handle Runtime.evaluate (no-op)
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c57e50c - Browse repository at this point
Copy the full SHA c57e50cView commit details
Commits on May 30, 2024
-
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bfb9db2 - Browse repository at this point
Copy the full SHA bfb9db2View commit details -
Handle CDP msg with order <id, method> and <method, id>
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3ad19df - Browse repository at this point
Copy the full SHA 3ad19dfView commit details
Commits on Jun 7, 2024
-
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 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc1456f - Browse repository at this point
Copy the full SHA dc1456fView commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa82160 - Browse repository at this point
Copy the full SHA fa82160View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ad8c9fa - Browse repository at this point
Copy the full SHA ad8c9faView commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1929eed - Browse repository at this point
Copy the full SHA 1929eedView commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7d67d13 - Browse repository at this point
Copy the full SHA 7d67d13View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cecc03e - Browse repository at this point
Copy the full SHA cecc03eView commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 08c11ac - Browse repository at this point
Copy the full SHA 08c11acView commit details -
Add emulation.setTouchEmulationEnabled
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9120b9c - Browse repository at this point
Copy the full SHA 9120b9cView commit details
Commits on Jun 12, 2024
-
Fix call to Runtime.executionContextCreated in Page.navigate
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7abb727 - Browse repository at this point
Copy the full SHA 7abb727View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4099696 - Browse repository at this point
Copy the full SHA 4099696View commit details
Commits on Jun 17, 2024
-
Add a dumpFile utility function
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4d756b5 - Browse repository at this point
Copy the full SHA 4d756b5View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9319e4a - Browse repository at this point
Copy the full SHA 9319e4aView commit details
Commits on Jun 19, 2024
-
Add some optional fields in Runtime.evaluate
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5eae158 - Browse repository at this point
Copy the full SHA 5eae158View commit details -
Move MsgBuffer in it's own file for unit test purpose
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f8b47b - Browse repository at this point
Copy the full SHA 0f8b47bView commit details -
Uniformize calling name conventions
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aca64ee - Browse repository at this point
Copy the full SHA aca64eeView commit details -
Fix changes in Zig 0.12 std lib
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ea410c8 - Browse repository at this point
Copy the full SHA ea410c8View commit details
Commits on Jul 8, 2024
-
Adapt to refacto in js_exec from zig-js-runtime
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4140903 - Browse repository at this point
Copy the full SHA 4140903View commit details
Commits on Jul 9, 2024
-
Fix response of runtime.Evaluate
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 14a3a66 - Browse repository at this point
Copy the full SHA 14a3a66View commit details
Commits on Oct 1, 2024
-
Redirect Runtime domain to JS engine Inspector
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 94d2d28 - Browse repository at this point
Copy the full SHA 94d2d28View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1675f69 - Browse repository at this point
Copy the full SHA 1675f69View commit details -
Add Target.disposeBrowserContext
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8bdd2a1 - Browse repository at this point
Copy the full SHA 8bdd2a1View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2f3a581 - Browse repository at this point
Copy the full SHA 2f3a581View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ab1d2a - Browse repository at this point
Copy the full SHA 5ab1d2aView commit details
Commits on Oct 7, 2024
-
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c913b2 - Browse repository at this point
Copy the full SHA 9c913b2View commit details -
server: let the caller of sendSync free the string
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4c225e5 - Browse repository at this point
Copy the full SHA 4c225e5View commit details -
server: newSession on disposeBrowserContext
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 76a9034 - Browse repository at this point
Copy the full SHA 76a9034View commit details
Commits on Oct 8, 2024
-
server: handle close and re-open connection
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 49adb61 - Browse repository at this point
Copy the full SHA 49adb61View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c35c09d - Browse repository at this point
Copy the full SHA c35c09dView commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b0ff325 - Browse repository at this point
Copy the full SHA b0ff325View commit details -
server: merge Cmd and Accept in Ctx
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c8a91d4 - Browse repository at this point
Copy the full SHA c8a91d4View commit details -
server: rename buf in read_buf
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cea38a1 - Browse repository at this point
Copy the full SHA cea38a1View commit details -
server: simplify onInspector methods
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a2f65eb - Browse repository at this point
Copy the full SHA a2f65ebView commit details -
Simplify browser session.setInspector
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f9b0977 - Browse repository at this point
Copy the full SHA f9b0977View commit details -
server: remove unused sendLater
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 15414f5 - Browse repository at this point
Copy the full SHA 15414f5View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ff0bbc3 - Browse repository at this point
Copy the full SHA ff0bbc3View commit details
Commits on Oct 9, 2024
-
Add cli options for server (host, port, timeout)
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9400dd7 - Browse repository at this point
Copy the full SHA 9400dd7View commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c564702 - Browse repository at this point
Copy the full SHA c564702View commit details -
server: rename public -> jsruntime
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2bc58be - Browse repository at this point
Copy the full SHA 2bc58beView commit details -
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bf56345 - Browse repository at this point
Copy the full SHA bf56345View commit details -
cdp: ensure token is a string when needed in parser
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d89b98 - Browse repository at this point
Copy the full SHA 0d89b98View commit details -
cdp: ensure method action is present
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eaf5c6f - Browse repository at this point
Copy the full SHA eaf5c6fView commit details -
browser: rename setInspector -> initInspector
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa4920b - Browse repository at this point
Copy the full SHA fa4920bView commit details -
browser: panic if callInspector without Inspector
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 28593d9 - Browse repository at this point
Copy the full SHA 28593d9View commit details -
browser: add comment for auxData param in page.navigate
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e53b9d9 - Browse repository at this point
Copy the full SHA e53b9d9View commit details -
msg: return error if input does not have "size:"
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 17c6418 - Browse repository at this point
Copy the full SHA 17c6418View commit details -
cdp: fix a comment on page.navigate
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7ad03fb - Browse repository at this point
Copy the full SHA 7ad03fbView commit details -
cdp: add comment on hard coded ID for page.createIsolatedWorld
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4b495f2 - Browse repository at this point
Copy the full SHA 4b495f2View commit details
Commits on Oct 11, 2024
-
msg: improve comments on reallocation
Signed-off-by: Francis Bouvier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fd6c25d - Browse repository at this point
Copy the full SHA fd6c25dView commit details