electron/spec/fixtures/pages/storage/web_sql.html
Robo a707a3eda3
feat: add enableWebSQL webpreference (#23311)
* feat: add enableWebSQL webpreference

* chore: update indexedDB test
2020-05-06 12:52:59 -07:00

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>