Public bug reported:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=13.04
DISTRIB_CODENAME=raring
DISTRIB_DESCRIPTION="Ubuntu 13.04"
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0
firefox:
  Installed: 24.0+build1-0ubuntu0.13.04.1
  Candidate: 24.0+build1-0ubuntu0.13.04.1


Firefox package is broken, it is missing the google api key required for 
geolocation features.

Test:
https://developers.google.com/maps/documentation/javascript/examples
/map-geolocation?csw=1

Enable debug:  geo.wifi.logging.enabled, true
Start from console, try geolocation

*** WIFI GEO: startup called.  testing mode isfalse
*** WIFI GEO: watch called
*** WIFI GEO: onChange called
[...]
*** WIFI GEO: ************************************* Sending request:
https://www.googleapis.com/geolocation/v1/geolocate?key=no-google-api-key

Note that "no-google-api-key" is used as API key. Google answers with
*** WIFI GEO: gls returned status: 400 --> 
{"error":{"errors":[{"domain":"usageLimits","reason":"keyInvalid","message":"Bad
 Request"}],"code":400,"message":"Bad Request"}}

Which is more or less expected.

PLEASE add an automatic test to prevent a regression.

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1235912

Title:
  firefox build misses google api key, breaks geolocation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1235912/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to