Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2024-04-16 15:16:58 +08:00
commit aed4ca8fc5
9 changed files with 50 additions and 5 deletions

View file

@ -3550,6 +3550,8 @@ nsGlobalWindow::GetEventTargetParent(EventChainPreVisitor& aVisitor)
aVisitor.mCanHandle = true;
// Middle/right click shouldn't dispatch click event, use auxclick to instead.
// Note: mDoc should always exist here, but check just in case someone yanked
// it out from under us.
if (mDoc && mDoc->IsXULDocument()) {
aVisitor.mForceContentDispatch = true; //FIXME! Bug 329119
}