request-event-ordering-large-mixed-with-small-values.any.js (931B)
1 // META: title=IndexedDB: request result events are delivered in order 2 // META: global=window,worker 3 // META: script=resources/support-promises.js 4 // META: script=resources/support.js 5 // META: script=resources/request-event-ordering-common.js 6 // META: timeout=long 7 8 // Spec: https://w3c.github.io/IndexedDB/#abort-transaction 9 10 'use strict'; 11 12 eventsTest('large values mixed with small values', [ 13 ['get', 1], 14 ['get', 2], 15 ['get-empty', 5], 16 ['count', 4], 17 ['continue-empty', null], 18 ['open', 1], 19 ['continue', 2], 20 ['open-empty', 5], 21 ['getall', 4], 22 ['open', 2], 23 ['continue-empty', null], 24 ['add', 5], 25 ['get', 3], 26 ['count', 5], 27 ['get-empty', 6], 28 ['put-with-id', 5], 29 ['getall', 5], 30 ['continue', 3], 31 ['open-empty', 6], 32 ['put', 6], 33 ['error', 1], 34 ['continue', 2], 35 ['open', 4], 36 ['get-empty', 7], 37 ['count', 6], 38 ['continue', 3], 39 ['add', 7], 40 ['getall', 7], 41 ['error', 3], 42 ['count', 7], 43 ]);