tor-browser

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

create-index.any.js (509B)


      1 // META: global=window,worker
      2 // META: title=IndexedDB: assure no crash when populating index
      3 // META: script=../resources/support.js
      4 // See https://crbug.com/434115938 for additional context and credits.
      5 'use strict';
      6 
      7 
      8 indexeddb_test(
      9  (t, db, tx) => {
     10    const store = db.createObjectStore('store', { keyPath: 'a.b', autoIncrement: true });
     11    store.put({});
     12    const index = store.createIndex('index', 'keypath');
     13    t.done();
     14  },
     15  /*open_func=*/null,
     16  "Assure no crash when populating index",
     17 );