electron/spec/fixtures/pages/storage/cookie.html

9 lines
177 B
HTML
Raw Normal View History

2016-09-21 18:35:37 +00:00
<script>
try {
document.cookie = "test=123"
} catch (e) {
const {ipcRenderer} = require('electron')
ipcRenderer.send('cookie-response', e.message)
}
2016-09-21 18:35:37 +00:00
</script>