mirror of
https://github.com/electron/electron.git
synced 2026-01-15 02:18:18 -05:00
10 lines
253 B
HTML
10 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>
|