Bug 1515345 - No notification bar when filePickers are blocked, r=smaug

This commit is contained in:
Andrea Marchesini
2018-12-20 01:46:43 +01:00
parent ec0707fb52
commit 232986e721

View File

@@ -675,7 +675,6 @@ nsresult HTMLInputElement::InitColorPicker() {
}
if (IsPopupBlocked()) {
win->FirePopupBlockedEvent(doc, nullptr, EmptyString(), EmptyString());
return NS_OK;
}
@@ -721,7 +720,6 @@ nsresult HTMLInputElement::InitFilePicker(FilePickerType aType) {
}
if (IsPopupBlocked()) {
win->FirePopupBlockedEvent(doc, nullptr, EmptyString(), EmptyString());
return NS_OK;
}