diff --git a/index.bs b/index.bs index 5ade92524..c50186936 100644 --- a/index.bs +++ b/index.bs @@ -5624,14 +5624,21 @@ The emulation.setGeolocationOverride command modi params: emulation.SetGeolocationOverrideParameters ) - emulation.SetGeolocationOverrideParameters = { - ( - (coordinates: emulation.GeolocationCoordinates / null) // - (error: emulation.GeolocationPositionError) - ), + emulation.SetGeolocationOverrideParameters = ( ? contexts: [+browsingContext.BrowsingContext], ? userContexts: [+browser.UserContext], - } + (emulation.SetGeolocationPosition // emulation.GeolocationPositionError) + ) + + emulation.SetGeolocationPosition = ( + type: "position", + coordinates: emulation.GeolocationCoordinates / null + ) + + emulation.GeolocationPositionError = ( + type: "error" + error: emulation.GeolocationPositionUnavailableError + ) emulation.GeolocationCoordinates = { latitude: -90.0..90.0, @@ -5643,7 +5650,7 @@ The emulation.setGeolocationOverride command modi ? speed: (float .ge 0.0) / null .default null, } - emulation.GeolocationPositionError = { + emulation.GeolocationPositionUnavailableError = { type: "positionUnavailable" }