From 23107a242b18abf219666f484afc2297c4175c9b Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 14 Jan 2016 20:40:46 +0100 Subject: [PATCH] bdd: Ignore POSITION_UNAVAILABLE for geolocation. --- tests/integration/data/prompt/geolocation.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/integration/data/prompt/geolocation.html b/tests/integration/data/prompt/geolocation.html index 8bb88e45a..89e7edd4c 100644 --- a/tests/integration/data/prompt/geolocation.html +++ b/tests/integration/data/prompt/geolocation.html @@ -13,6 +13,9 @@ case error.PERMISSION_DENIED: console.log("geolocation permission denied"); break; + case error.POSITION_UNAVAILABLE: + console.log("geolocation position unavailable (ignored)"); + break; default: console.log("[FAIL] geolocation error " + error.code + ": " + error.message);