electron/spec/fixtures/pages/permissions/geolocation.html

6 lines
149 B
HTML

<script>
navigator.geolocation.getCurrentPosition(() => {}, (err) => {
require('electron').ipcRenderer.send('message', err.message);
});
</script>