Bug 1816139 - Undo focus mitigation from bug 1421724. r=karlt

Differential Revision: https://phabricator.services.mozilla.com/D169786
This commit is contained in:
Andreas Pehrson 2023-02-20 08:05:07 +00:00
Родитель b2be5a926e
Коммит 763e9a2df6
1 изменённых файлов: 0 добавлений и 3 удалений

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

@ -388,9 +388,6 @@ function promiseMessage(
function promisePopupNotificationShown(aName, aAction, aWindow = window) {
let startTime = performance.now();
return new Promise(resolve => {
// In case the global webrtc indicator has stolen focus (bug 1421724)
aWindow.focus();
aWindow.PopupNotifications.panel.addEventListener(
"popupshown",
function() {