firefox build misses google api key, breaks geolocation

Bug #1235912 reported by everflux
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in firefox (Ubuntu):
status: New → Confirmed
Revision history for this message
blaamann (baggetun) wrote :

Geolocation does not work in 13.10 either in Firefox 25. If I download and use Firefox 25 from Mozilla it works as it should.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.