commit | b15aa35f6723a441146380b544c144ea5c39fa7a | [log] [tgz] |
---|---|---|
author | Alex Cooper <alcooper@chromium.org> | Tue May 21 19:50:46 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue May 21 19:50:46 2019 |
tree | 6e7aa7226cf5f7c894e344916e07ffdf2d5f5bc9 | |
parent | 1203c54463947ccb9c2289e8327017680063f966 [diff] |
Add web_test for gamepad re-entrancy crash Recently it was discovered that calling navigator.getGamepads within an event callback could cause re-entrancy which would cause the array that was being processed for events to be changed out from underneath it. This change adds a test for that scenario. With the fix for 963416 reverted, the test fails with a crashing callstack that matches that in 963416, and with the fix in, the test passes as expected. Bug: 965302 Change-Id: I9dcfd09ce744f19444877d7a20387f98e4fe60cd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1622434 Auto-Submit: Alexander Cooper <alcooper@chromium.org> Commit-Queue: Matt Reynolds <mattreynolds@chromium.org> Reviewed-by: Matt Reynolds <mattreynolds@chromium.org> Cr-Commit-Position: refs/heads/master@{#661861}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .