[Webkit-unassigned] [Bug 228319] New: Geolocation API should callback with error if doc is not fully active

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 27 01:26:51 PDT 2021


            Bug ID: 228319
           Summary: Geolocation API should callback with error if doc is
                    not fully active
           Product: WebKit
           Version: Safari 14
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: marcos at marcosc.com

When the document is not fully active the error callback passed to navigator.geolocation.getCurrentPosition() or watchPosition() is not invoked. This behavior can be reproduced by creating an iframe, capturing a reference to navigator.geolocation from its global scope, removing it from the DOM and then attempting to call one of these methods.

The behavior of calling the error callback has been proposed in the specification.

Specification issue: https://github.com/w3c/geolocation-api/issues/96
Specification pull request: https://github.com/w3c/geolocation-api/pull/97

Web platform test:

PS: any chance of getting a "Geolocation" bug component in here in the bug tracker? ��

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210727/5b061fec/attachment.htm>

More information about the webkit-unassigned mailing list