diff --git a/content/events/src/nsEventStateManager.cpp b/content/events/src/nsEventStateManager.cpp index 2ed3df344748..c2fa70920e24 100644 --- a/content/events/src/nsEventStateManager.cpp +++ b/content/events/src/nsEventStateManager.cpp @@ -1161,7 +1161,7 @@ nsEventStateManager::PreHandleEvent(nsPresContext* aPresContext, nsCOMPtr win = mDocument->GetWindow(); if (!win) { - NS_ERROR("win is null. this happens [often on xlib builds]. see bug #79213"); + // NS_ERROR("win is null. this happens [often on xlib builds]. see bug #79213"); return NS_ERROR_NULL_POINTER; } @@ -4982,7 +4982,17 @@ nsEventStateManager::GetDocSelectionLocation(nsIContent **aStartContent, if (startContent) { startFrame = shell->GetPrimaryFrameFor(startContent); if (isCollapsed) { - // Check to see if our caret is at the very end of a node + // First check to see if we're in a