Bug 1517688 [wpt PR 14709] - [IndexedDB]: Add commit check to aborting 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: https://github.com/w3c/IndexedDB/pull/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
This commit is contained in:
Andreas Butler 2019-01-31 15:43:48 +00:00 коммит произвёл James Graham
Родитель 0b24b6af22
Коммит e1d41b3ffc
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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();
});
},