mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 2f346208c2a115a601b580e7869fe112b97c4246
This commit is contained in:
parent
2a594821ba
commit
add3067672
78 changed files with 2101 additions and 635 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue