Open Bug 1652303 Opened 5 years ago Updated 11 months ago

location API causing frequent system-wide disconnects (event when not used anymore)

Categories

(Core :: DOM: Geolocation, defect)

78 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: madiele92, Unassigned, NeedInfo)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0

Steps to reproduce:

happens everytime i call navigator.geolocation.getCurrentPosition() on every website, unfortunattly I don't know the starting conditions, the console doesn't print any error

happens when the location permission are given for the give website

Actual results:

when you call the method all connections hangs system-wide (windows 10 education V1909) for a good 1-2 seconds, and keeps happening every 10-20 seconds until firefox is restarted

Expected results:

location is given without any connection drops

I tried to reproduce this issue on Windows 10, using the latest Nightly 80.0a1 and Firefox 78.0.2 but with no success.

Madiele92, to eliminate custom settings as a possible cause, can you please try to reproduce this using Firefox with a clean profile (https://goo.gl/AWo6h8), maybe even safe mode (https://goo.gl/AR5o9d)?

Also, could you please provide some examples of websites you are encountering this issue on?
Thanks!

Flags: needinfo?(madiele92)

tried with a clean profile the bug still persists

to help you out I made a recording of the but while in a window I ping my server every 0.2 seconds to show how it hags connections outside firefox, it also shows how the bug is still there if you close the tab, it only goes away on restart

https://youtu.be/3iIogcm9-Dk

Flags: needinfo?(madiele92)

also, I encounter the bug on every website, tested by calling the API through the console on various sites like reddit, google, youtube and so on

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → DOM: Events
Product: Firefox → Core
Component: DOM: Events → DOM: Geolocation

This might be related to Bug 1430607, and thus pinging its reporter.

Severity: -- → S3
Flags: needinfo?(jfkthame)

(In reply to Simona Badau from comment #1)

I tried to reproduce this issue on Windows 10, using the latest Nightly 80.0a1 and Firefox 78.0.2 but with no success.

Madiele92, to eliminate custom settings as a possible cause, can you please try to reproduce this using Firefox with a clean profile (https://goo.gl/AWo6h8), maybe even safe mode (https://goo.gl/AR5o9d)?

Also, could you please provide some examples of websites you are encountering this issue on?
Thanks!

I have the same issue. Here is the video.
https://drive.google.com/file/d/1WVsmqV88Mj39ENok5iIJdC4MXsDcQLYB/view?usp=sharing

Here is the summary of what's going on in my situation.
https://www.reddit.com/r/firefox/comments/i7ax6x/firefox_location_service_causing_wifi/?utm_source=share&utm_medium=web2x

You need to log in before you can comment on or make changes to this bug.