Chromium Code Reviews
DescriptionIndexedDB: Ensure transactions without requests commit in the same order
In the IDB back-end, a Commit() request that came through for a
transaction that never had any requests was allowed to run the commit
steps without having seen a Start() call from the transaction
coordinator. While the operations would never run out of order, the
commit would happens unexpectedly early from the point of view of
script - i.e. before an earlier transaction with overlapping scope has
completed.
Handle this special case, using the existing commit_pending_ flag
and a new test in Start().
R=palakj@chromium.org,cmumford@chromium.org
BUG=614530
Committed: https://crrev.com/d546a9d9162ce273c8b789306ae934b5db9ed6d1
Cr-Commit-Position: refs/heads/master@{#401395}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Review feedback #
Messages
Total messages: 10 (3 generated)
|
||||||||||||||||||||||||||||