bdd: Ignore POSITION_UNAVAILABLE for geolocation.

This commit is contained in:
Florian Bruhin 2016-01-14 20:40:46 +01:00
parent 0b116729f7
commit 23107a242b

View File

@ -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);