commit | 6bd5d74eef1658fadcd1ddc7bbe3f3ff7329bbcd | [log] [tgz] |
---|---|---|
author | Vladimir Nechaev <nechaev@chromium.org> | Wed Sep 28 13:28:57 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 28 13:28:57 2022 |
tree | cc5856b51ac266477679e8c9ac17ab287bc1d571 | |
parent | 06ca67ea656d44847aaf2f298dc88873dc345d5f [diff] |
Continuous command numbering in ChromeDriver This is a part of "Route CDP commands / events / responses via BiDiMapper" task. Every CDP command now has an ID unique within the session. This unique ID can be used to generate a unique ID of the BiDi command that wraps it (this is how CDP traffic routing via the mapper works). Unique command IDs allow us using simple arithmetical tricks to avoid BiDi command ID collision between the user commands and the infrastructural commands (CDP over BiDi). E.g. <Result user command id> = <source command id> <Result infractructural command id> = -1 * <CDP command id> Bug: chromedriver:4181 Change-Id: I0601b787fe9549a5170c89ea23217b6ea47037ca Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3923194 Commit-Queue: Vladimir Nechaev <nechaev@chromium.org> Reviewed-by: Maksim Sadym <sadym@chromium.org> Cr-Commit-Position: refs/heads/main@{#1052358}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.