a707a3eda3
* feat: add enableWebSQL webpreference * chore: update indexedDB test
9 lines
253 B
HTML
9 lines
253 B
HTML
<script>
|
|
const {ipcRenderer} = require('electron')
|
|
try {
|
|
window.openDatabase('test', '1.0', 'test database', 65536)
|
|
ipcRenderer.send('web-sql-response', null)
|
|
} catch (e) {
|
|
ipcRenderer.send('web-sql-response', e.message)
|
|
}
|
|
</script>
|