mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 427163 - "Crash [@ nsContentUtils::ContentIsDescendantOf] with contenteditable, right-clicking and document.write" (add null check) [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=roc a1.9=damons]
This commit is contained in:
parent
e20c3514d6
commit
9eb7749c18
@ -1005,6 +1005,8 @@ PRBool nsCaret::IsMenuPopupHidingCaret()
|
||||
if (!node)
|
||||
return PR_TRUE; // No selection/caret to draw.
|
||||
nsCOMPtr<nsIContent> caretContent = do_QueryInterface(node);
|
||||
if (!caretContent)
|
||||
return PR_TRUE; // No selection/caret to draw.
|
||||
|
||||
// If there's a menu popup open before the popup with
|
||||
// the caret, don't show the caret.
|
||||
|
Loading…
Reference in New Issue
Block a user