Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2025 17:37:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        chromium@FreeBSD.org
Subject:   [Bug 233095] www/firefox geolocation no longer working
Message-ID:  <bug-233095-28929-8lKwSKDPZQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-233095-28929@https.bugs.freebsd.org/bugzilla/>
References:  <bug-233095-28929@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233095

--- Comment #7 from J.R. Oldroyd <fbsd@opal.com> ---
I did some debugging of this.

There appear to be two problems.

1. The FreeBSD wifi scan code uses the isr_rssi value directly.  This resul=
ts
in incorrect values.  It needs to adjust for the isr_noise noise level.  I =
am
attaching a patch to correct this.

2. Secondly, I cannot get it to work directly with the default Google
geolocation URL [1].  However, if I change the URL (in about:config
geo.provider.network.url) to a proxy script on my own server, then call that
same Google geolocation URL from that script it works just fine (with the
patch).  To debug this, I want to enable logging (I've tried using [2] and =
also
using about:logger) to see what's going on, but the log files are created b=
ut
remain empty.  Anyone have suggestions for how to get the log to show?

[1]
https://www.googleapis.com/geolocation/v1/geolocate?key=3D%GOOGLE_LOCATION_=
SERVICE_API_KEY%

[2] MOZ_LOG_FILE=3D"/tmp/log" MOZ_LOG=3D"timestamp,sync,gWifiMonitorLog:5" =
firefox

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233095-28929-8lKwSKDPZQ>