[Webkit-unassigned] [Bug 22634] Safari crashes when I try to do a drag-and-drop of selected text in Presently or Writely,

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 2 12:54:52 PST 2009


------- Comment #4 from sky at google.com  2009-03-02 12:54 PDT -------

            if (!startOfParagraphToMove.deepEquivalent().node()->parent()) {
                // Inserting the break resulted in deleting the node we're
going to move.

Right after:

        if (startOfParagraph(endOfInsertedContent) == startOfParagraphToMove) {

In ReplaceSelectionCommand fixes the bug, but when attempting to drag the third
time a different crash occurs.

Seems to me any place in ReplaceSelectionCommand that does mutation needs to
make sure the document is sane before continuing. This is based on my limited
knowledge of webkit though, so I could of course be completely wrong.

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