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-16 15:40:50 +00:00
Родитель b3169e3b66
Коммит cbdf930501
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,