devtools-protocol 0.0.1445099 → 0.0.1446921
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10112,7 +10112,7 @@
|
|
10112
10112
|
},
|
10113
10113
|
{
|
10114
10114
|
"name": "setGeolocationOverride",
|
10115
|
-
"description": "Overrides the Geolocation Position or Error. Omitting
|
10115
|
+
"description": "Overrides the Geolocation Position or Error. Omitting latitude, longitude or\naccuracy emulates position unavailable.",
|
10116
10116
|
"parameters": [
|
10117
10117
|
{
|
10118
10118
|
"name": "latitude",
|
@@ -10131,6 +10131,30 @@
|
|
10131
10131
|
"description": "Mock accuracy",
|
10132
10132
|
"optional": true,
|
10133
10133
|
"type": "number"
|
10134
|
+
},
|
10135
|
+
{
|
10136
|
+
"name": "altitude",
|
10137
|
+
"description": "Mock altitude",
|
10138
|
+
"optional": true,
|
10139
|
+
"type": "number"
|
10140
|
+
},
|
10141
|
+
{
|
10142
|
+
"name": "altitudeAccuracy",
|
10143
|
+
"description": "Mock altitudeAccuracy",
|
10144
|
+
"optional": true,
|
10145
|
+
"type": "number"
|
10146
|
+
},
|
10147
|
+
{
|
10148
|
+
"name": "heading",
|
10149
|
+
"description": "Mock heading",
|
10150
|
+
"optional": true,
|
10151
|
+
"type": "number"
|
10152
|
+
},
|
10153
|
+
{
|
10154
|
+
"name": "speed",
|
10155
|
+
"description": "Mock speed",
|
10156
|
+
"optional": true,
|
10157
|
+
"type": "number"
|
10134
10158
|
}
|
10135
10159
|
]
|
10136
10160
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -4676,8 +4676,8 @@ domain Emulation
|
|
4676
4676
|
protanopia
|
4677
4677
|
tritanopia
|
4678
4678
|
|
4679
|
-
# Overrides the Geolocation Position or Error. Omitting
|
4680
|
-
# unavailable.
|
4679
|
+
# Overrides the Geolocation Position or Error. Omitting latitude, longitude or
|
4680
|
+
# accuracy emulates position unavailable.
|
4681
4681
|
command setGeolocationOverride
|
4682
4682
|
parameters
|
4683
4683
|
# Mock latitude
|
@@ -4686,6 +4686,14 @@ domain Emulation
|
|
4686
4686
|
optional number longitude
|
4687
4687
|
# Mock accuracy
|
4688
4688
|
optional number accuracy
|
4689
|
+
# Mock altitude
|
4690
|
+
optional number altitude
|
4691
|
+
# Mock altitudeAccuracy
|
4692
|
+
optional number altitudeAccuracy
|
4693
|
+
# Mock heading
|
4694
|
+
optional number heading
|
4695
|
+
# Mock speed
|
4696
|
+
optional number speed
|
4689
4697
|
|
4690
4698
|
experimental command getOverriddenSensorInformation
|
4691
4699
|
parameters
|
@@ -2868,8 +2868,8 @@ export namespace ProtocolMapping {
|
|
2868
2868
|
returnType: void;
|
2869
2869
|
};
|
2870
2870
|
/**
|
2871
|
-
* Overrides the Geolocation Position or Error. Omitting
|
2872
|
-
* unavailable.
|
2871
|
+
* Overrides the Geolocation Position or Error. Omitting latitude, longitude or
|
2872
|
+
* accuracy emulates position unavailable.
|
2873
2873
|
*/
|
2874
2874
|
'Emulation.setGeolocationOverride': {
|
2875
2875
|
paramsType: [Protocol.Emulation.SetGeolocationOverrideRequest?];
|
@@ -1962,8 +1962,8 @@ export namespace ProtocolProxyApi {
|
|
1962
1962
|
setEmulatedVisionDeficiency(params: Protocol.Emulation.SetEmulatedVisionDeficiencyRequest): Promise<void>;
|
1963
1963
|
|
1964
1964
|
/**
|
1965
|
-
* Overrides the Geolocation Position or Error. Omitting
|
1966
|
-
* unavailable.
|
1965
|
+
* Overrides the Geolocation Position or Error. Omitting latitude, longitude or
|
1966
|
+
* accuracy emulates position unavailable.
|
1967
1967
|
*/
|
1968
1968
|
setGeolocationOverride(params: Protocol.Emulation.SetGeolocationOverrideRequest): Promise<void>;
|
1969
1969
|
|
@@ -2086,8 +2086,8 @@ export namespace ProtocolTestsProxyApi {
|
|
2086
2086
|
setEmulatedVisionDeficiency(params: Protocol.Emulation.SetEmulatedVisionDeficiencyRequest): Promise<{id: number, result: void, sessionId: string}>;
|
2087
2087
|
|
2088
2088
|
/**
|
2089
|
-
* Overrides the Geolocation Position or Error. Omitting
|
2090
|
-
* unavailable.
|
2089
|
+
* Overrides the Geolocation Position or Error. Omitting latitude, longitude or
|
2090
|
+
* accuracy emulates position unavailable.
|
2091
2091
|
*/
|
2092
2092
|
setGeolocationOverride(params: Protocol.Emulation.SetGeolocationOverrideRequest): Promise<{id: number, result: void, sessionId: string}>;
|
2093
2093
|
|
package/types/protocol.d.ts
CHANGED
@@ -8779,6 +8779,22 @@ export namespace Protocol {
|
|
8779
8779
|
* Mock accuracy
|
8780
8780
|
*/
|
8781
8781
|
accuracy?: number;
|
8782
|
+
/**
|
8783
|
+
* Mock altitude
|
8784
|
+
*/
|
8785
|
+
altitude?: number;
|
8786
|
+
/**
|
8787
|
+
* Mock altitudeAccuracy
|
8788
|
+
*/
|
8789
|
+
altitudeAccuracy?: number;
|
8790
|
+
/**
|
8791
|
+
* Mock heading
|
8792
|
+
*/
|
8793
|
+
heading?: number;
|
8794
|
+
/**
|
8795
|
+
* Mock speed
|
8796
|
+
*/
|
8797
|
+
speed?: number;
|
8782
8798
|
}
|
8783
8799
|
|
8784
8800
|
export interface GetOverriddenSensorInformationRequest {
|