commit | 4075371c2b38d0edae4f4ca5c7809e120245459c | [log] [tgz] |
---|---|---|
author | Peter Kasting <pkasting@chromium.org> | Fri Dec 22 01:22:05 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 22 01:22:05 2023 |
tree | a8f35c61a92aba6d54daf7157478195031a2683f | |
parent | 271e6c70f23998f7e94fb91b5c7268db507e39f8 [diff] |
Test that chained callbacks on canceled callbacks still run. This is primarily documentation, and to prevent Hyrum's law from biting in the future if we rely on this behavior and then change it. But in practice it does seem nicer to run these than abort the whole chain, and this is also consistent with the behavior of `PostTaskAndReply()` when the initial task is bound to an invalidated weak pointer -- the reply still runs. Bug: none Change-Id: I1baffa34daf4fbf06fc550d47874a6c382ef676e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5146990 Auto-Submit: Peter Kasting <pkasting@chromium.org> Reviewed-by: Francois Pierre Doray <fdoray@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Commit-Queue: Francois Pierre Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/main@{#1240406}
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.