Open Bug 1883340 Opened 1 year ago Updated 7 months ago

mozregression-gui on Mac cannot capture camera or microphone

Categories

(Testing :: mozregression, defect, P3)

Unspecified
macOS
defect

Tracking

(Not tracked)

People

(Reporter: pehrsons, Unassigned)

Details

STR:

  • On MacOS launch "mozregression GUI" from Spotlight
  • in mozregression GUI launch some version of Firefox
  • In the launched Firefox, go to https://mozilla.github.io/webrtc-landing/gum_test.html
  • Click "Camera", "Microphone", or "Camera & Microphone"
  • Approve the permission prompt

Expected result:
Firefox is actively capturing the requested and selected devices.

Actual result:
"NotFoundError"

This NotFoundError is because macOS rejects the capture request. Hypothetical, but I imagine this could be because mozregression-gui lacks the camera and microphone usage descriptions that Firefox has from its Info.plist file. MacOS uses the top-most parent process when handling permissions requests -- when using mozregression it uses permissions for Terminal.app, for instance. For mozregression-gui macOS doesn't ask the user, and mozregression-gui doesn't appear in system settings (under Privacy & Security -> Camera/Microphone). For "Screen Recording", i.e. the "Screen capture" button on the link in the STR above, it works as expected, but that doesn't need a usage description in Info.plist.

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

For more information, please visit BugBot documentation.

Flags: needinfo?(zeid)
Severity: -- → S3
Flags: needinfo?(zeid)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.