зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1472424
- BrowserElementParent should use IsInComposedDoc, r=mrbkap
This commit is contained in:
Родитель
d14590cada
Коммит
cf007c3999
|
@ -160,7 +160,7 @@ BrowserElementParent::DispatchOpenWindowEvent(Element* aOpenerFrameElement,
|
|||
val, &status);
|
||||
|
||||
if (dispatchSucceeded) {
|
||||
if (aPopupFrameElement->IsInUncomposedDoc()) {
|
||||
if (aPopupFrameElement->IsInComposedDoc()) {
|
||||
return BrowserElementParent::OPEN_WINDOW_ADDED;
|
||||
}
|
||||
if (status == nsEventStatus_eConsumeNoDefault) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче