Skip to content

Commit

Permalink
Bug 1517688 [wpt PR 14709] - [IndexedDB]: Add commit check to abortin…
Browse files Browse the repository at this point in the history
…g txns., a=testonly

Automatic update from web-platform-tests
[IndexedDB]: Add commit check to aborting txns.

A check is added to ensure that transactions that have already been sent
a commit signal from the front end (for whatever reason) are committed
instead of aborted in the event of an abort.

Spec Change: w3c/IndexedDB#242

Explainer: https://andreas-butler.github.io/idb-transaction-commit/EXPLAINER
Change-Id: I942136c1bbfb8a5347bf7cf1f9702f5cbff66521
Reviewed-on: https://chromium-review.googlesource.com/c/1330692
Commit-Queue: Andreas Butler <andreasbutler@google.com>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Reviewed-by: Daniel Murphy <dmurph@chromium.org>
Reviewed-by: Chase Phillips <cmp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#619859}

--

wpt-commits: 6d9079e341f777ae47b2f39c9d116bfc77d141e2
wpt-pr: 14709
  • Loading branch information
andreas-butler authored and jgraham committed Feb 5, 2019
1 parent ba5f34a commit 884c7cf
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -54,6 +54,8 @@
const result = request.result;
assert_key_equals(result[testcase.property], key,
'Property should be used as key');
});
tx.oncomplete = t.step_func(function() {
t.done();
});
},
Expand Down

0 comments on commit 884c7cf

Please sign in to comment.