Bug 1515345 - No notification bar when filePickers are blocked, r=smaug
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user