commit | ac622f14bee19c3531d8e3db2dfb504267dd7f2a | [log] [tgz] |
---|---|---|
author | Kevin Ellis <kevers@google.com> | Wed Mar 06 19:38:11 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 06 19:38:11 2024 |
tree | fee834fd57f289567cc26a353d7840719ab9c6ec | |
parent | 10667ceb5ac36949f8b13d8374118dc979a9d29b [diff] |
Fix timeout in svg-mouse-listener a11y test The recommended approach to make a crash test asynchronous is to use reftest-wait. Unfortunately, test-driver does not work with ref-tests. The fix is to pull the test out of crashtests and author as a promise test. This is the only a11y crash test that uses test-driver, and thus, the only one that is affected. The test needs to be asynchronous to avoid a memory leak. The reason is due to the fact that we have armed an event listener that is never triggered unless we wait. A crash-test only waits until onload is complete. Bug: 328403023 Change-Id: If33410bd498995b8216e805c8edc27c093e3db1a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5348198 Reviewed-by: Aaron Leventhal <aleventhal@chromium.org> Commit-Queue: Kevin Ellis <kevers@chromium.org> Cr-Commit-Position: refs/heads/main@{#1269156}
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.