Skip to content

navigator.geolocation.getCurrentPosition freezes thread #8754

@pronebird

Description

@pronebird
  • Electron version: 1.6.1
  • Operating system: macOS

Expected behavior

navigator.geolocation.getCurrentPosition runs in background

Actual behavior

the entire UI is frozen

How to reproduce

    navigator.geolocation.getCurrentPosition((pos) => {
      console.log('POS: ' + pos);
    }, (err) => {
      console.log('Geolocation error: ', err);
    }, {enableHighAccuracy: false});

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions