Bug 40314 - Geolocation fails on second and subsequent loads of some pages (sometimes fails on first attempt)
Summary: Geolocation fails on second and subsequent loads of some pages (sometimes fai...
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.6
: P2 Normal
Assignee: Nobody
URL: http://maps.google.com/
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-08 11:42 PDT by Graham Perrin
Modified: 2010-06-09 02:43 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Perrin 2010-06-08 11:42:32 PDT
Safari 5.0 (6533.16, r60820) on Mac OS X Snow Leopard

 1. visit <http://maps.google.com/>
 2. click the small circle above the zoom slider
 3. geolocation may work first time
 4. reload the page
 5. click the small circle above the zoom slider

= Bug = 
Geolocation seems to fail silently. 

= Notes =
Comparable behaviour is noted when testing against <http://status.leuksman.com/geodemo/>; in some situations geolocation will work first time, AFAICT in all situations geolocation will not work on second and subsequent attempts. 

Misbehaviour was first noted whilst working through <http://status.net/trac/ticket/2347#comment:8>, testing Mac OS X Leopard and Snow Leopard in multiple locations. 

Bug 40148 catches my eye, 

> Client-based Geolocation does not handle multiple simultaneous requests

— might that be relevant?
Comment 1 Steve Block 2010-06-09 02:43:30 PDT
> Bug 40148 catches my eye, 
> 
> > Client-based Geolocation does not handle multiple simultaneous requests
> 
> — might that be relevant?
No, I don't think so. That bug was for the case of the same Geolocation object making multiple requests to the Geolocation service. In the problem you describe, the page refresh will cause a new Geolocation object to be created.