Bug 1368015 - Null-check selection in nsCaret::GetFrameAndOffset. r=masayuki, a=RyanVM
A bit of a wallpaper, but it's silly to crash with a null deref here. If there's no selection there's nothing to invalidate really. We already null-check it effectively when aOverrideNode is null. Differential Revision: https://phabricator.services.mozilla.com/D97960
Please register or sign in to comment