[Webkit-unassigned] [Bug 20161] Dragging image into Google Presentation crashes Safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 24 12:31:47 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=20161





------- Comment #2 from eric at webkit.org  2008-07-24 12:31 PDT -------
It appears that the document fragment is empty here:

        } else {
            if (setSelectionToDragCaret(innerFrame, dragCaret, range, point))
                applyCommand(ReplaceSelectionCommand::create(m_document,
fragment, true, dragData->canSmartReplace(), chosePlainText)); 
        }  

ReplaceSelectionCommand maybe doesn't expect an empty fragment?

I'm not sure why only the second drag crashes?  Maybe because the image is
already selected after the first drag?


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list