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

5 lines
149 B
HTML

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