Update web-platform-tests to revision 2f346208c2a115a601b580e7869fe112b97c4246

This commit is contained in:
WPT Sync Bot 2020-01-19 08:23:36 +00:00
parent 2a594821ba
commit add3067672
78 changed files with 2101 additions and 635 deletions

View file

@ -196,9 +196,12 @@ promise_test(async testCase => {
txn2.commit();
// Exercise the IndexedDB transaction ordering by executing one with a
// different scope.
const txn3 = db.transaction(['not_books'], 'readwrite');
txn3.objectStore('not_books').put({'title': 'not_title'}, 'key');
// different scope. A readonly transaction is used here because
// implementations are not required to run non-overlapping readwrite
// transactions in parallel, and some implementations (ex: Firefox)
// will not.
const txn3 = db.transaction(['not_books'], 'readonly');
txn3.objectStore('not_books').getAllKeys();
txn3.oncomplete = function() {
releaseTxnFunction();
}