Rapid repeated Geolocation requests freeze browser
Categories
(Core :: DOM: Geolocation, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox136 | --- | affected |
People
(Reporter: austin.donisan, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: hang)
Attachments
(1 file)
|
3.38 MB,
video/mp4
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0
Steps to reproduce:
Go to a site that makes infinite geolocation requests.
Real site:
https://www.servpro.com/
Test case:
https://cloud.hideaway-hotel.com/location.html
Actual results:
The permission requests banner flickers and is impossible to click. Trying to navigate to another tab freezes the entire browser and and you have to kill Firefox with Task Manager.
Expected results:
You should get a single prompt for location permissions. Chrome handles this edge case fine.
| Reporter | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 2•1 year ago
|
||
I can repro that the prompt is not usable, however at least on my dev machine using Ubuntu 24.10 I don't see a parent process hang, therefore setting to S3.
David, is this something you are familiar with?
On Windows it does hang. And it's basically bug 1912721. We need some backpressure.
Not duping to bug 1912721 because that one can also be fixed by returning different permission state.
This is really a permission manager thing.
Updated•1 year ago
|
Back to Geolocation as it turns out that the IPC itself happens elsewhere via PContentPermissionRequest.
Description
•