[Webkit-unassigned] [Bug 19075] New: ASSERT in editing code, ASSERTION FAILED: selection.isCaretOrRange()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 15 04:20:11 PDT 2008


           Summary: ASSERT in editing code, ASSERTION FAILED:
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org
                CC: justin.garcia at apple.com
OtherBugsDependingO 18858

ASSERT in editing code, ASSERTION FAILED: selection.isCaretOrRange()

ASSERTION FAILED: selection.isCaretOrRange()
virtual void WebCore::ReplaceSelectionCommand::doApply())

The commands:
  doc.execCommand('createLink', 0, '</td>');
  doc.execCommand('justifyright', 1, '<script src=https://webkit.org>');
  doc.execCommand('cut', 0, 'javascript:1');
  doc.execCommand('insertunorderedlist', 1, 'courier');
  doc.execCommand('insertunorderedlist', 1, 'courier');
  doc.execCommand('insertunorderedlist', 0, '');
  doc.execCommand('createLink', 0, '<tr>');
  doc.execCommand('insertunorderedlist', 1, '<table>');
  doc.execCommand('paste', 1, 'red');
  doc.execCommand('insertorderedlist', 1, '');
  doc.execCommand('insertparagraph', 0, 'javascript:1');
  doc.execCommand('justifycenter', 0, 'https://www.webkit.org');
  doc.execCommand('createLink', 1, '<iframe src=about:blank>');
  doc.execCommand('indent', 0, 'red');
  doc.execCommand('outdent', 0, '</tr>');

Unfortunately my reduction script reduced it far enough that it no longer
crashes in Safari, but it does crash in DRT.  You'll have to run this test
under DRT to see the crash.

Configure bugmail: http://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