Closed elC0mpa closed 2 years ago
This seems like a bug in Firefox, though I think it is also an area where the behavior for temporarily granted permissions could be specified more precisely in the Permissions API. Not firing a change
event at all is definitely a bug.
Firefox's issue tracker is https://bugzilla.mozilla.org/.
CC @marcoscaceres for visibility into the potential area for clarification in the Permissions API.
Thanks @reillyeon, so I need to open a bug in Mozillam is this ok?
Yes, please file a bug with the Mozilla team.
Seems not to be fixed yet. I was also not able to find it on https://bugzilla.mozilla.org/. But maybe i am just blind.
Hello, I am having some issues when working with geolocation in FireFox, First of all I whill show how this works in Chrome and after that I will show the problem in FireFox.
After location is allowed in this website the button is enabled as shown in the next image.
This is who it should works.
Now I will show you the problem. Next image shows initial state in firefox.
As shown in the next image, the problem is that when location is allowed temporarily, the API doesn´t detect that user allowed it and as a consequence, the button remains inactive.
I will show you the code I am using even though there is nothing special on it.
Basically the point is that when you give location temporarily permissions, the onChange is never executed
Thanks in advance, I hope I could solve this problem.