Open Bug 1797821 Opened 3 years ago Updated 2 years ago

Fenix shows site permission prompt after the user has already granted permission

Categories

(Firefox for Android :: Browser Engine, defect)

All
Android
defect

Tracking

()

REOPENED
Tracking Status
firefox106 --- affected
firefox107 --- affected
firefox108 --- affected
firefox129 --- affected

People

(Reporter: cpeterson, Unassigned)

Details

Attachments

(1 file)

Steps to reproduce

  1. Load https://permission.site/
  2. Tap the "Camera" button.
  3. You will see a permission prompt: "Allow https://permission.site:443 to use your camera and microphone?"
  4. Tap the "Allow" button.
  5. Tap the "Camera" button again.

Expected result

Fenix should automatically allow the camera permission without showing the permission prompt because the user already granted permission. This is what Firefox desktop and Chrome Android do.

Actual result

Fenix shows the camera permission prompt again.

Had you checked the "Remember decision for this site" as well and were still prompted to allow the permission again?

It wasn't clear if that was implicitly done based on your STR.

Flags: needinfo?(cpeterson)

I'm bit confused, same as Jon, for instance if I hit the checked box, the permissions is remembered otherwise it will ask again!

Severity: -- → S3

I'm going to close this as works for me, but leaving the NI in case cpeterson gets a chance to respond.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
Flags: needinfo?(cpeterson)

I can still reproduce this bug. I was about to file a new bug about requesting the "Camera" permission and then the related "Pan-Tilt-Zoom" permission on https://permission.site/, but then I found this bug I already filed two years ago about simply requesting the "Camera" permission multiple times.

Firefox on desktop, Chrome on desktop and Android, and Safari on macOS and iOS all remember that you already granted a permission on the current page, even if you don't check "Remember decision for this site".

This issue affects any permission, not just permissions related to the camera: try testing other combinations of related permission requests, such as:

  • Camera, Microphone, then "Camera + Microphone"
  • "Camera + Microphone" then "Pan-Tilt-Zoom + Microphone"
  • Camera then "Screen Share"
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: