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:
Johann Hofmann 2019-09-17 09:26:01 +00:00
Родитель 80cfe832b3
Коммит 5ee7e03637
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -1156,6 +1156,7 @@ function prompt(aBrowser, aRequest) {
options.checkbox = {
label: stringBundle.getString("getUserMedia.remember"),
checked: principal.isAddonOrExpandedAddonPrincipal,
checkedState: reasonForNoPermanentAllow
? {
disableMainAction: true,