[Webkit-unassigned] [Bug 61008] New: Assertion failed if text field is cleared while drag&drop

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 17 18:14:14 PDT 2011


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

           Summary: Assertion failed if text field is cleared while
                    drag&drop
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: takano.naoki at gmail.com


if I select and drag text and a dom event fires (e.g., ondragenter) and removes the text I'm dragging, we hit the same assertion.

Attached the manual test file.

1, Run debug version
2, open drag.html
3, select "test" text in left text field and start dragging the selected text.
4, drop the test into the right text field.
5, Assertion failed as following,


        ASSERT(endingSelection().isNonOrphanedRange());
#0    0x0225bddd in WebCore::MoveSelectionCommand::doApply at
MoveSelectionCommand.cpp:42
#1    0x0222c62b in WebCore::EditCommand::apply at EditCommand.cpp:92
#2    0x0222c6db in WebCore::applyCommand at EditCommand.cpp:229
#3    0x023ce0e3 in WebCore::DragController::concludeEditDrag at
DragController.cpp:467
#4    0x023cf053 in WebCore::DragController::performDrag at DragController.cpp:206
#5    0x01a6aa35 in WebKit::WebViewImpl::dragTargetDrop at WebViewImpl.cpp:1937
#6    0x02f63aad in RenderView::OnDragTargetDrop at render_view.cc:3327

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



More information about the webkit-unassigned mailing list