[Webkit-unassigned] [Bug 13652] New: REGRESSION: WebCore::DragController crashes if WebDragSourceActionDHTML cleared

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 9 18:49:34 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=13652

           Summary: REGRESSION: WebCore::DragController crashes if
                    WebDragSourceActionDHTML cleared
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P1
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: justin at cam.org


If webView:dragSourceActionMaskForPoint: (WebUIDelegate protocol) is
implemented and returns a mask in which the WebDragSourceActionDHTML bit is
clear, dragging does not work when dragging ordinary text, links, etc. from
that WebView.
- If another WebView in the same app (without this bit cleared) has already
performed a successful drag, then the pasteboard will contain that previous
drag's data.
- If no other WebView has already performed a successful drag operation, then
DragController crashes, with a trashed stack.

To reproduce, simply implement the following in a WebUIDelegate:

- (unsigned)webView:(WebView *)sender
dragSourceActionMaskForPoint:(NSPoint)point
{
        return (WebDragSourceActionAny & ~WebDragSourceActionDHTML);
}

Bug does not occur in WebKit released with OS X 10.4 Tiger. I don't know at
what point it turned up in the nightlies. It is present in rev. 21322 of
2007-05-09.


-- 
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