Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1523562 [wpt PR 14761] - [IndexedDB]: Explicit commit error timin…
…g handling., a=testonly Automatic update from web-platform-tests [IndexedDB]: Explicit commit error timing handling. When a transaction is explicitly committed, there may yet be unhandled errors that the browser has sent but the renderer has not yet seen. This can cause strange behaviour (see the Github discussion link below). This patch keeps track of the 'handled errors' in the renderer and the 'sent errors' in the backend. The 'handled errors' number is sent when the transaction is explicitly committed, and the browser can compare this with the 'sent errors'. If they don't match, the transaction is aborted GitHub Discussion: w3c/IndexedDB#242 Bug: 911877 Change-Id: I7ea7b9e20c70528de3f363e961f87a3d8f5798d3 Reviewed-on: https://chromium-review.googlesource.com/c/1378806 Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Chase Phillips <cmp@chromium.org> Reviewed-by: Daniel Murphy <dmurph@chromium.org> Commit-Queue: Andreas Butler <andreasbutler@google.com> Cr-Commit-Position: refs/heads/master@{#625780} -- wpt-commits: b0fbbb9ff451b18bf8a69fd54027bf59d21c2667 wpt-pr: 14761
- Loading branch information
1 parent
9a0b34e
commit 43aa48a
Showing
1 changed file
with
52 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters