tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

request-event-ordering-small-values.any.js (731B)


      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('small values', [
     13  ['get', 2],       ['count', 4],       ['continue-empty', null],
     14  ['get-empty', 5], ['add', 5],         ['open', 2],
     15  ['continue', 2],  ['get', 4],         ['get-empty', 6],
     16  ['count', 5],     ['put-with-id', 5], ['put', 6],
     17  ['error', 3],     ['continue', 4],    ['count', 6],
     18  ['get-empty', 7], ['open', 4],        ['open-empty', 7],
     19  ['add', 7],
     20 ]);