commit | eaf2e8bce3855d362e53034bd83f0e3aff8714e4 | [log] [tgz] |
---|---|---|
author | Daniel Murphy <dmurph@chromium.org> | Thu Mar 14 03:23:36 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Mar 14 03:23:36 2019 |
tree | 4d63168c1a2f27de366a9aec67d3031991dcbdb5 | |
parent | 7c31e770037019a6369482b5cff2e9bbac48c354 [diff] |
[IndexedDB] Fixed force close during pending connection open During a force close of the database, the connections to that database are iterated and force closed. The iteration method was not safe to modification, and if there was a pending connection waiting to open, that request would execute once all the other connections were destroyed and create a new connection. This change changes the iteration method to account for new connections that are added during the iteration. R=cmp@chromium.org Bug: 941746 Change-Id: If1b3137237dc2920ad369d6ac99c963ed9c57d0c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1522330 Commit-Queue: Daniel Murphy <dmurph@chromium.org> Reviewed-by: Chase Phillips <cmp@chromium.org> Cr-Commit-Position: refs/heads/master@{#640604}
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 .