commit | 1da53af28db0971fe6479fb84e3001d70d2a4a19 | [log] [tgz] |
---|---|---|
author | Tom Sepez <tsepez@chromium.org> | Fri Apr 28 17:11:01 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Apr 28 17:11:01 2023 |
tree | a42173eba09d4e8cc4f3b2a2f682f99120a4e2cd | |
parent | ddc6f52c54f64bd8e8797c9db3891de2c527a6c9 [diff] |
Store MockClock pointer in class MDnsTest Avoid dangling pointer to out-of-scope local error under test MDnsTest.CacheCleanupWithShortTTL when the local `clock` in the test body is bound to `test_client_` member which is not cleaned up until after function exit. -- Same for MDnsTest.StopListening_CacheCleanupScheduled Bug: 1401495 Change-Id: If5631f6daad63907fef89fb455dd75ba9ba4d498 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4166475 Reviewed-by: Eric Orth <ericorth@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org> Cr-Commit-Position: refs/heads/main@{#1137234}
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.