firefoxhtmlgeolocationpacket-sniffers

Firefox's geo.wifi.url's https://www.google.com/loc/json not used?


I used a network sniffer and examined all the requests going out from Firefox when going to http://html5demos.com/geo. According to my Firefox, the geolocation service according to geo.wifi.uri entry is https://www.google.com/loc/json. However I don't see this url in any of the requests.

What am I missing?


Solution

  • I see it in LiveHTTPHeaders:

    https://www.google.com/loc/json
    
    POST /loc/json HTTP/1.1
    Host: www.google.com
    User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:2.0b12pre) Gecko/20110220 Firefox/4.0b12pre
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip, deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Content-Length: 42
    Content-Type: text/plain; charset=UTF-8
    Pragma: no-cache
    Cache-Control: no-cache
        {"version":"1.1.0","request_address":true}
    
    HTTP/1.1 200 OK
    Content-Type: application/json; charset=UTF-8
    Content-Encoding: gzip
    Date: Mon, 21 Feb 2011 13:34:05 GMT
    Expires: Mon, 21 Feb 2011 13:34:05 GMT
    Cache-Control: private, max-age=0
    X-Content-Type-Options: nosniff
    X-Frame-Options: SAMEORIGIN
    X-XSS-Protection: 1; mode=block
    Content-Length: 238
    Server: GSE