Backed out changeset 2647a23c02bf (bug 1534351) for mochitest failures at test_multipleFilePicker.html. CLOSED TREE

This commit is contained in:
Brindusan Cristian
2019-04-09 20:45:05 +03:00
parent dabc16c840
commit 175fc2eba1
5 changed files with 5 additions and 14 deletions

View File

@@ -654,7 +654,7 @@ bool HTMLInputElement::IsPopupBlocked() const {
// Check if page can open a popup without abuse regardless of allowed events
if (PopupBlocker::GetPopupControlState() <= PopupBlocker::openBlocked) {
return !PopupBlocker::TryUsePopupOpeningToken(OwnerDoc()->NodePrincipal());
return !PopupBlocker::TryUsePopupOpeningToken();
}
return !PopupBlocker::CanShowPopupByPermission(OwnerDoc()->NodePrincipal());