Closed Bug 1401531 Opened 8 years ago Closed 8 years ago

The Permissions API returns "prompt" for granted permission

Categories

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

All
Android
defect

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: redneb8888, Unassigned)

References

Details

Attachments

(1 file)

Attached file example.html
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 Build ID: 20170826193935 Steps to reproduce: A page that has never used the geolocation API before, requests the current location using navigator.geolocation.getCurrentPosition. The user is then prompted to share their location with the site and they grant the permission and also select "Don't ask again for this site". Then the page checks whether it has the geolocation permission with navigator.permissions.query({name: "geolocation"}). Actual results: On Firefox for Android, the returned state for this permission is "prompt". Expected results: I would expected it to be "granted". This is how the desktop version of firefox works.
OS: Unspecified → Android
Hardware: Unspecified → All
Version: unspecified → Trunk
See Also: → 1374989
w
Priority: -- → P3
Closing per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195 Contact :susheel if you think this bug should be re-opened
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INACTIVE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: