mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1472424
- BrowserElementParent should use IsInComposedDoc, r=mrbkap
This commit is contained in:
parent
d14590cada
commit
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user