| Index: Source/devtools/protocol.json
|
| diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
|
| index 1c012310c7857c770f7685c422da69fb0f5def6f..9531b6f9286ef21257bc92d004c904a65cda9a2b 100644
|
| --- a/Source/devtools/protocol.json
|
| +++ b/Source/devtools/protocol.json
|
| @@ -447,18 +447,18 @@
|
| },
|
| {
|
| "name": "setGeolocationOverride",
|
| - "description": "Overrides the Geolocation Position or Error.",
|
| + "description": "Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position unavailable.",
|
| "parameters": [
|
| { "name": "latitude", "type": "number", "optional": true, "description": "Mock latitude"},
|
| { "name": "longitude", "type": "number", "optional": true, "description": "Mock longitude"},
|
| { "name": "accuracy", "type": "number", "optional": true, "description": "Mock accuracy"}
|
| ],
|
| - "redirect": "Geolocation"
|
| + "handlers": ["browser"]
|
| },
|
| {
|
| "name": "clearGeolocationOverride",
|
| "description": "Clears the overriden Geolocation Position and Error.",
|
| - "redirect": "Geolocation"
|
| + "handlers": ["browser"]
|
| },
|
| {
|
| "name": "setDeviceOrientationOverride",
|
| @@ -4284,25 +4284,6 @@
|
| ]
|
| },
|
| {
|
| - "domain": "Geolocation",
|
| - "hidden": true,
|
| - "commands": [
|
| - {
|
| - "name": "setGeolocationOverride",
|
| - "description": "Overrides the Geolocation Position or Error.",
|
| - "parameters": [
|
| - { "name": "latitude", "type": "number", "optional": true, "description": "Mock latitude"},
|
| - { "name": "longitude", "type": "number", "optional": true, "description": "Mock longitude"},
|
| - { "name": "accuracy", "type": "number", "optional": true, "description": "Mock accuracy"}
|
| - ]
|
| - },
|
| - {
|
| - "name": "clearGeolocationOverride",
|
| - "description": "Clears the overriden Geolocation Position and Error."
|
| - }
|
| - ]
|
| - },
|
| - {
|
| "domain": "DeviceOrientation",
|
| "hidden": true,
|
| "commands": [
|
|
|