mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 03:27:31 +09:00
dom: check mDoc before use, as it can be null
This commit is contained in:
parent
5479b6d9c0
commit
0acd996e03
1 changed files with 1 additions and 1 deletions
|
|
@ -3550,7 +3550,7 @@ nsGlobalWindow::GetEventTargetParent(EventChainPreVisitor& aVisitor)
|
||||||
|
|
||||||
aVisitor.mCanHandle = true;
|
aVisitor.mCanHandle = true;
|
||||||
// Middle/right click shouldn't dispatch click event, use auxclick to instead.
|
// Middle/right click shouldn't dispatch click event, use auxclick to instead.
|
||||||
if (mDoc->IsXULDocument()) {
|
if (mDoc && mDoc->IsXULDocument()) {
|
||||||
aVisitor.mForceContentDispatch = true; //FIXME! Bug 329119
|
aVisitor.mForceContentDispatch = true; //FIXME! Bug 329119
|
||||||
}
|
}
|
||||||
if (msg == eResize && aVisitor.mEvent->IsTrusted()) {
|
if (msg == eResize && aVisitor.mEvent->IsTrusted()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue