bdd: Ignore POSITION_UNAVAILABLE for geolocation.
This commit is contained in:
parent
0b116729f7
commit
23107a242b
@ -13,6 +13,9 @@
|
|||||||
case error.PERMISSION_DENIED:
|
case error.PERMISSION_DENIED:
|
||||||
console.log("geolocation permission denied");
|
console.log("geolocation permission denied");
|
||||||
break;
|
break;
|
||||||
|
case error.POSITION_UNAVAILABLE:
|
||||||
|
console.log("geolocation position unavailable (ignored)");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
console.log("[FAIL] geolocation error " + error.code +
|
console.log("[FAIL] geolocation error " + error.code +
|
||||||
": " + error.message);
|
": " + error.message);
|
||||||
|
Loading…
Reference in New Issue
Block a user