Open Bug 1933567 Opened 1 year ago Updated 11 months ago

Firefox for Android keeps setting location to blocked for https://totransit.ca/

Categories

(Firefox for Android :: Privacy, defect)

Firefox 132
ARM64
Android
defect

Tracking

()

UNCONFIRMED

People

(Reporter: wcruppel, Unassigned)

Details

Firefox for Android

Steps to reproduce:

The site https://totransit.ca is used to show the current positions of streetcars and buses in Toronto, and it also will show the user's current location.

I use this a lot on my Android phone when I'm out and about.

Actual results:

Upon initial use, the site prompts to Allow or Block location access. I select Allow and the position icon shows up. Great.

However, now when I go back to totransit.ca, the location is set to Blocked and I have to manually select Allowed.

Furthermore, looking in Settings -> Site Permissions -> Exceptions -> totransit.ca -> Location, I see this has been changed to Blocked. I've tried multiple times to change this to Allowed, and also tried Clear permission to start again, but it is just not staying as Allowed.

What in the world is going on here??

Note: This same behavior does NOT occur in Firefox on Windows, or Chrome on Android or Windows.

Expected results:

I selected Allowed for location access. I expect this to be honored.

The Bugbug bot thinks this bug should belong to the 'Fenix::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → General
Product: Firefox → Fenix
Component: General → Privacy
OS: Unspecified → Android
Hardware: Unspecified → ARM64

The severity field is not set for this bug.
:Gela, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(gmalekpour)

Hi William,

Has this always been an issue or did you recently notice the bug? Wondering if something changed recently.

I am able to reproduce the issue of user location (blue pin) not showing up after relaunching the browser.

Reporter stated:

However, now when I go back to totransit.ca, the location is set to Blocked and I have to manually select Allowed.

This is not the same for me however.
In my case, in Firefox if I go to settings -> Site settings -> Location it is still set to "Ask to allow"
In device setting under Permission manager -> Location, Firefox is still under "Allowed only while in use" as I had previously selected.

If I delete browser cache and data and go back to totransit.ca then I am prompted with the original location popups and it works as expected once I "allow".

Not reproducible with a similarly behaving website such as maps.google.com

Flags: needinfo?(gmalekpour) → needinfo?(wcruppel)
Severity: -- → S3

Well this is 100% repeatable for me. Please try following these repro steps:

  1. Start Firefox for Android
  2. Go to https://totransit.ca
  3. Tap address bar, select "Clear cookies and site data", tap DELETE
  4. When "Allow location" popup shows, select "Remember decision", tap Allow.
  5. Note the blue dot appears.
  6. Select 3-dot menu -> Quit
  7. Start Firefox for Android
  8. Go to https://totransit.ca
  9. Note the blue dot DOES NOT APPEAR.
  10. Tap address bar, note Location is BLOCKED.
Flags: needinfo?(wcruppel) → needinfo?(gmalekpour)

Yes, as I stated I am able to reproduce the issue with the user location as well.

Has this always been an issue or did you recently notice the bug? Wondering if something changed recently.

Flags: needinfo?(gmalekpour)

Sorry, I misunderstood your comment.

The location feature was only recently added to https://totransit.ca

But, yes, this has always been an issue since the feature was added.

Also happens for https://benzin.tcs.ch/de/map/DIESEL (Swiss gas price directory).
Doesn't happen for other pages like https://map.geo.admin.ch

Happens since I restarted to use Firefox on Android in December '24.

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