7 lines
218 B
HTML
7 lines
218 B
HTML
<script>
|
|
let req = window.indexedDB.open('test')
|
|
req.onerror = function (event) {
|
|
const {ipcRenderer} = require('electron')
|
|
ipcRenderer.send('indexed-db-response', event.target.error.message)
|
|
}
|
|
</script>
|