Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Emulated position error cannot be passed to "call back with error" #186

@gmta

Description

@gmta

Here, we are supposed to pass an instance of GeolocationPositionError to "call back with error":

geolocation/index.html

Lines 840 to 841 in 69cc724

<li>[=Call back with error=] passing |errorCallback| and
|emulatedPositionData|.

However, "call back with error" only supports a code for the second argument:

geolocation/index.html

Lines 1069 to 1071 in 69cc724

When instructed to <dfn>call back with error</dfn>, given an
{{PositionErrorCallback?}} |callback:PositionErrorCallback?| and an
{{unsigned short}} |code:unsigned short|:

The spec should probably be updated to take the code from the position error and pass that along instead.

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