Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /IndexedDB/crashtests/create-index.any.html - WPT Dashboard Interop Dashboard
- /IndexedDB/crashtests/create-index.any.serviceworker.html - WPT Dashboard Interop Dashboard
- /IndexedDB/crashtests/create-index.any.sharedworker.html - WPT Dashboard Interop Dashboard
- /IndexedDB/crashtests/create-index.any.worker.html - WPT Dashboard Interop Dashboard
// META: global=window,worker
// META: title=IndexedDB: assure no crash when populating index
// META: script=../resources/support.js
'use_strict';
indexeddb_test(
(t, db, tx) => {
const store = db.createObjectStore('store', { keyPath: 'a.b', autoIncrement: true });
store.put({});
const index = store.createIndex('index', 'keypath');
t.done();
},
/*open_func=*/null,
"Assure no crash when populating index",
);