commit | 9aa65f540f26103a773cdf1e39c5daf890aee1e3 | [log] [tgz] |
---|---|---|
author | Vladimir Nechaev <nechaev@chromium.org> | Thu Oct 31 16:27:41 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 31 16:27:41 2024 |
tree | 0872551d08ad2c117f3a4f5e8ad7fc0ec8398162 | |
parent | 8b59da592117bed72f470c7723f47a46efea137b [diff] |
Minimize usage of thread local session ChromeDriver code actively accesses the thread local session. This is invonvenient for testing: * Some functions explicitly accept Session but they work correctly only if the thread local session is passed as the explicit argument. Otherwise they would use the both sessions which creates difficult to debug issues. * Thread local session is an object via which different tests can accidentally share the state. This commit tries to minimize the usage of the thread local session in ChromeDriver code. Bug: 42323555 Change-Id: Iae3ae5b916af8e8cb3416fdd7a5eda599056f52d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5978486 Auto-Submit: Vladimir Nechaev <nechaev@chromium.org> Commit-Queue: Alex N. Jose <alexnj@chromium.org> Reviewed-by: Alex N. Jose <alexnj@chromium.org> Reviewed-by: Mathias Bynens <mathias@chromium.org> Cr-Commit-Position: refs/heads/main@{#1376372}
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.