Bug 988027 - Add geo.wifi.uri pref to the webapp runtime (Use the Mozilla Location Service). r=dougt
authorMarco Castelluccio <mar.castelluccio@studenti.unina.it>
Fri, 28 Mar 2014 10:44:04 -0400
changeset 187999 109af39c9c04f6799cb7eca7997c01ecd7e8915d
parent 187998 2c633dd0c85ba5924eb9fa5e510ff013ecc8790e
child 188000 5616b5e7bec1b51eeb5f57b83e8a747b9f42e4eb
push idunknown
push userunknown
push dateunknown
reviewersdougt
bugs988027
milestone31.0a1
Bug 988027 - Add geo.wifi.uri pref to the webapp runtime (Use the Mozilla Location Service). r=dougt
webapprt/prefs.js
--- a/webapprt/prefs.js
+++ b/webapprt/prefs.js
@@ -54,16 +54,18 @@ pref("dom.sysmsg.enabled", true);
 
 // Alarm API
 pref("dom.mozAlarms.enabled", true);
 
 // Disable slow script dialog for apps
 pref("dom.max_script_run_time", 0);
 pref("dom.max_chrome_script_run_time", 0);
 
+// The request URL of the GeoLocation backend
+pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
 
 #ifndef RELEASE_BUILD
 // Enable mozPay default provider
 pref("dom.payment.provider.0.name", "Firefox Marketplace");
 pref("dom.payment.provider.0.description", "marketplace.firefox.com");
 pref("dom.payment.provider.0.uri", "https://marketplace.firefox.com/mozpay/?req=");
 pref("dom.payment.provider.0.type", "mozilla/payments/pay/v1");
 pref("dom.payment.provider.0.requestMethod", "GET");