зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1579489 - Check the persistent permission checkbox by default for WebExtension WebRTC prompts. r=jib
This is done to offset the requirement that extensions have to get persistent permission before they can start using WebRTC in popups. Differential Revision: https://phabricator.services.mozilla.com/D45335 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
80cfe832b3
Коммит
5ee7e03637
|
@ -1156,6 +1156,7 @@ function prompt(aBrowser, aRequest) {
|
|||
|
||||
options.checkbox = {
|
||||
label: stringBundle.getString("getUserMedia.remember"),
|
||||
checked: principal.isAddonOrExpandedAddonPrincipal,
|
||||
checkedState: reasonForNoPermanentAllow
|
||||
? {
|
||||
disableMainAction: true,
|
||||
|
|
Загрузка…
Ссылка в новой задаче