Skip to content

Set [[accuracyMode]] when constructing a GeolocationPosition - #1

Open
marcoscaceres wants to merge 1 commit into
antosart:approx-location-2from
marcoscaceres:fix/geo-233-accuracymode
Open

Set [[accuracyMode]] when constructing a GeolocationPosition#1
marcoscaceres wants to merge 1 commit into
antosart:approx-location-2from
marcoscaceres:fix/geo-233-accuracymode

Conversation

@marcoscaceres

Copy link
Copy Markdown

Follow-up to w3c#233. The construction of a new GeolocationPosition is now passed a fourth argument and there is a new [[accuracyMode]] internal slot, but the construction algorithm did not accept the argument or set the slot, and the emulated-position branch passed only three arguments, so [[accuracyMode]] was never set. This adds an AccuracyMode parameter to the construction algorithm, sets [[accuracyMode]] from it, and passes it from the emulated-position branch. Found while prototyping w3c#233 in WebKit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant