forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1732409 make getUserMedia() permission prompt requirement indepen…
…dent of "media.navigator.streams.fake" r=jib "media.navigator.permission.disabled" exists for controlling the permission prompt separately. This will allow consolidation of camera and microphone preference handling into EnumerateRawDevices(). Although auto-disabling permission with "media.navigator.streams.fake" is sometimes useful for tests, it is actually easier to consider them independently because sometimes the auto-disabling needs to be overridden. The logic to disable the permission prompt with content-exposed fake:true parameter is maintained as is. The CamerasParent usage of "media.navigator.permission.fake" seems to have been a misunderstanding in https://hg.mozilla.org/mozilla-central/rev/c5d6c3e00c91dd0595a12b145c66cf4f2a890591#l6.129 Differential Revision: https://phabricator.services.mozilla.com/D132897
- Loading branch information
Showing
6 changed files
with
12 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters