File tree 1 file changed +15
-6
lines changed
1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -5624,14 +5624,23 @@ The <dfn export for=commands>emulation.setGeolocationOverride</dfn> command modi
5624
5624
params: emulation.SetGeolocationOverrideParameters
5625
5625
)
5626
5626
5627
- emulation.SetGeolocationOverrideParameters = {
5628
- (
5629
- (coordinates: emulation.GeolocationCoordinates / null) //
5630
- (error: emulation.GeolocationPositionError)
5631
- ),
5627
+ emulation.SetGeolocationOverrideParameters = (
5628
+ emulation.SetGeolocationOverrideSuccessParameters /
5629
+ emulation.SetGeolocationOverrideErrorParameters
5630
+ )
5631
+
5632
+ emulation.SetGeolocationOverrideBaseParameters = (
5632
5633
? contexts: [+browsingContext.BrowsingContext] ,
5633
5634
? userContexts: [+browser.UserContext] ,
5634
- }
5635
+ )
5636
+
5637
+ emulation.SetGeolocationOverrideSuccessParameters = {
5638
+ coordinates: emulation.GeolocationCoordinates / null
5639
+ } & emulation.SetGeolocationOverrideBaseParameters
5640
+
5641
+ emulation.SetGeolocationOverrideErrorParameters = {
5642
+ error: emulation.GeolocationPositionError
5643
+ } & emulation.SetGeolocationOverrideBaseParameters
5635
5644
5636
5645
emulation.GeolocationCoordinates = {
5637
5646
latitude: -90.0..90.0,
You can’t perform that action at this time.
0 commit comments