electron/spec/fixtures/pages/storage/indexed_db.html

9 lines
192 B
HTML

<script>
try {
let req = window.indexedDB.open('test')
} catch (e) {
const {ipcRenderer} = require('electron')
ipcRenderer.send('indexed-db-response', e.message)
}
</script>