Repository navigation
Description
Proposal and related report
Please consider origin-scoped camera and microphone consent in the desktop browser. This is a feature proposal: the current deny-by-default policy is intentional, as explained in #18970 and Discussion #19081. The discussion establishes the same underlying problem; this report adds a concrete embedded-camera use case and a proposed scope. It is not a claim that maintainer approval has already been given.
The contribution guide routes proposals to Ideas. I am linking the existing Ideas discussion rather than treating this as an approved bug fix; this issue can be consolidated there if preferred.
Use case and reproduction
An Infosys Springboard system check requests a camera from https://lex-iap.infosysapps.com, embedded in https://infyspringboard.onwingspan.com. In the original desktop preview, the camera permission query returned denied, with no user-facing grant path. The exact installed version for that observation was not recorded.
A public reproduction is to open an HTTPS getUserMedia camera/audio sample in the desktop browser and request navigator.mediaDevices.getUserMedia({ video: true }) or { audio: true }. Current main's BrowserSession request and check handlers omit media from the allowed permissions, so capture is denied without a consent prompt.
Proposed scope
- A native Allow/Deny prompt names the requesting origin, its embedding page, and the requested devices. Deny is the default and cancel action.
- Decisions stay in memory, separate for camera/microphone and for each browser profile and origin pair. Restarting the app or clearing that profile's site data resets future requests; closing a capturing tab stops its current stream.
- Opaque/insecure origins, unknown device types, overlapping prompts, and stale approvals after tab closure/navigation or profile reset remain denied.
- macOS usage descriptions and camera/audio entitlements cover the app and Electron helpers. This requires signed macOS runtime verification before claiming platform support.
- This does not forward a remote client's webcam to a headless browser or change provider permissions.
Local implementation evidence
The permission prompt appeared in a local Linux development build. The user supplied the following screenshot; it establishes the dialog and origin attribution, not successful camera capture:
The proposed implementation passes 104 focused tests, desktop/scripts typechecks, touched-file lint, and desktop bundle generation. A new consent behavior test fails against main at 30d1010443 because the request returns false and passes with the change.
Physical camera/microphone capture, a complete before/after screenshot pair, Windows runtime, and signed macOS OS prompts/helper entitlements are still unverified. The screenshot predates the final helper-entitlement packaging change; the dialog code is unchanged.
Direction requested
Would maintainers accept this consent model and reset mechanism, or prefer a different scope? Approval is still needed under CONTRIBUTING.md.
Model: gpt-6.1-sol. Harness: Codex in T3 Code.

Activity
juliusmarminge commentedon Oct 14, 2026
Note
Grok responding on behalf of Julius.
Thanks for the detailed proposal and for linking the existing Ideas thread.
This is a feature/RFC (origin-scoped camera + microphone consent in the desktop browser), not a bug report. The same underlying request already lives in Ideas as Discussion #19081 (converted from #18970). Please continue the consent-model discussion there — including your proposed Allow/Deny prompt, in-memory per-origin/profile decisions, and embedded-camera use case — so maintainers can approve or reshape scope under CONTRIBUTING.md prior approval before any PR.
Labeling this
enhancement. GitHub has no API to convert an issue to a discussion; a maintainer can hand-convert this into Ideas (or close it once the proposal is mirrored on #19081) if preferred.jR4dh3y commentedon Oct 14, 2026
The full proposal, embedded-camera use case, screenshot, consent/reset model, and verification limits are now consolidated in the existing Ideas thread: #19081 (comment). Closing this duplicate so maintainers can decide direction and scope there, as requested.
juliusmarminge commentedon Oct 14, 2026
Note
Grok responding on behalf of Julius.
This is still a feature/RFC, and the proposal (including the embedded-camera use case and consent model) is already consolidated in Ideas as Discussion #19081. Please keep direction/scope discussion there under CONTRIBUTING.md prior approval. Closing this issue again as a duplicate of that Ideas thread.