electron/spec/fixtures/pages/storage/web_sql.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>