Closed Bug 706865 Opened 13 years ago Closed 12 years ago

nextbus.com asks for location priv multiple times

Categories

(Firefox for Android Graveyard :: General, defect, P4)

ARM
Android
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: brion, Unassigned)

Details

(Whiteboard: [MTD])

User Agent: Mozilla/5.0 (Android; Linux armv7l; rv:11.0a1) Gecko/20111201 Firefox/11.0a1 Fennec/11.0a1
Build ID: 20111201040252

Steps to reproduce:

go to http://nextbus.com in Fennec (yesting in san francisco where this pulls MUNI data)


Actual results:

prompt for sharing location with the site appears multiple times; although i accept every time.


Expected results:

only prompt once
bug 638417 covers slightly more general problems (slowness, failure to retrieve results) with the same page, but doesn't mention the multiple prompts.

I'm seeing the multiple prompts in both Firefox 9 beta and the 20111201 nightly, but it happens much more quickly in the native-UI nightly.
Whiteboard: [MTD]
What about Firefox Desktop?
I had to use user-agent switcher addon to get it to work, as otherwise you get sent off to an intro page on desktop browser.

Firefox 8.0 on Ubuntu 11.10:

* using User-Agent switcher to set user-agent to: Mozilla/5.0 (Android; Linux armv7l; rv:10.0.1) Gecko/20100101 Firefox/10.0.1 Fennec/10.0.1
* go to http://www.nextbus.com/
* redirects to http://www.nextbus.com/#_home
* prompts once for location sharing (say yes)
* shows up with results, all seems well
* also noticed a prompt for storing offline data
* told it yes to that too

No multiple location prompts visible.

Reload page and try again:
* prompted for location sharing
* say yes
* wait......
* page shows a timeout error, then starts lookup again
* loop back to "prompted for location sharing"

Interesting!

So it's definitely not just mobile; but there appear to be both 'works immediately' and 'slow/loop of requests' modes.

Possibly triggered by having stored a previous lookup.


The slow lookup is different from the failure mode I see in Fennec Native though, where it loops very quickly, but looks about the same as I see in Firefox 9 beta on Android.
In 20111205 nightly I'm no longer seeing the location share prompt; the app just runs through a loop of:

"Got old GPS location so trying again (age was 5633 min)..."
"Determining your location"
OS: Linux → Android
Hardware: Other → ARM
Priority: -- → P4
The location share doorhanger is displayed 5 times if the user chooses to share the location every time. The "Share" button is equivalent to "Share once" not "Share always" which is the expected behavior (See bug 714787)
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.