You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the attempt is successful, the successCallback MUST be invoked (i.e. the handleEvent operation MUST be called on the callback object) with a new NavigatorGeolocationPosition object, reflecting the current location of the device.
http://w3c.github.io/geolocation-api/#dom-navigatorgeolocation-getcurrentposition says:
However, the type definition of the callback is:
This is a https://heycam.github.io/webidl/#idl-callback-functions. The spec wording has it confused with https://heycam.github.io/webidl/#dfn-callback-interface and in particular https://dom.spec.whatwg.org/#callbackdef-eventlistener.
https://heycam.github.io/webidl/#invoke-a-callback-function is the way to invoke callback functions, and https://dom.spec.whatwg.org/#notify-mutation-observers has an example of the phrasing.
The text was updated successfully, but these errors were encountered: