bdd: Skip geolocation tests if it's unavailable.

This should unbreak the build with older Qt versions.
This commit is contained in:
Florian Bruhin 2016-01-14 18:51:28 +01:00
parent 9c87eaf371
commit e7a816c0c0

View File

@ -23,7 +23,7 @@
if ("geolocation" in navigator) {
navigator.geolocation.getCurrentPosition(on_success, on_error);
} else {
console.log("[FAIL] geolocation unavailable");
console.log("[SKIP] geolocation unavailable");
}
}
</script>