Open Bug 1878830 Opened 1 year ago Updated 1 year ago

navigator.getUserMedia() doesn’t request for permission in addon ported to firefox android

Categories

(GeckoView :: General, defect)

All
Android
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: pavanj914, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

Steps to reproduce:

await navigator.mediaDevices.getUserMedia({
video: true,
});

doesn't request camera permissions in extension context

desktop firefox:
addon context - works
website context - works

firefox android:
addon context - doesn’t work
website context - works: https://blog.minhazav.dev/research/html5-qrcode

Actual results:

no permission requests happened

Expected results:

camera permission dialogue shall pe popped up

i tried getUserMedia in popup.js

The severity field is not set for this bug.
:bclark, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(brclark)
Component: General → Permissions
Flags: needinfo?(brclark)
Product: Fenix → GeckoView
Version: Firefox 114 → unspecified
Severity: -- → S3

Moving to General

Component: Permissions → General
You need to log in before you can comment on or make changes to this bug.