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

6 lines
149 B
HTML
Raw Normal View History

2016-01-30 13:31:10 +00:00
<script>
navigator.geolocation.getCurrentPosition(() => {}, (err) => {
require('electron').ipcRenderer.send('message', err.message);
2016-01-30 13:31:10 +00:00
});
</script>