Closed
Bug 1615952
Opened 6 years ago
Closed 6 years ago
constantly asks to use geolocation
Categories
(Core :: DOM: Geolocation, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1561041
| Webcompat Priority | ? |
People
(Reporter: karlcow, Unassigned)
References
()
Details
- with firefox preview nightly android (or rdm with Firefox desktop and mobile ua Bug 1523545 ? )
- go to https://www.freedom.com.au/
- select do not allow and remember this decision
- Reload the page.
expected:
page loading only
actual:
The location is requested again.
var getLocation = function() {
self.Latitude(0);
self.Longitude(0);
if (window.GeoCheckTimes < 1) {
if (navigator.geolocation) {
var position = navigator.geolocation.getCurrentPosition(function(
position
) {
self.Latitude(position.coords.latitude);
self.Longitude(position.coords.longitude);
reloadMiniCart();
});
reloadMiniCart();
} else {
reloadMiniCart();
}
} else {
reloadMiniCart();
}
};
getLocation();
which is called at the end of
var MiniCartViewModel = function(model, customer, bus) {
…
getLocation();
}
And yet somehow the remember this decision has no effect.
I didn't find anything obvious in
https://bugzilla.mozilla.org/buglist.cgi?quicksearch=getCurrentPosition&list_id=15111956
but probably a duplicate somewhere.
This is not happening on desktop. It remembers the choice the user made.
When we set in a tab the remember don't allow, the tab which was in the rdm suddenly works.
But on firefox Android, there is no way to fix that.
| Reporter | ||
Comment 2•6 years ago
|
||
indeed thanks!
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(kdubost)
Resolution: --- → DUPLICATE
Updated•6 years ago
|
status-firefox75:
affected → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•