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

6 lines
149 B
HTML
Raw Normal View History

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