[Webkit-unassigned] [Bug 25913] single-file input elements should refuse multi-file drags

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 21 04:05:51 PDT 2009


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





------- Comment #1 from eric at webkit.org  2009-05-21 04:05 PDT -------
The check which needs to change here is in:

bool DragController::canProcessDrag(DragData* dragData) 

    if (dragData->containsFiles() && asFileInput(result.innerNonSharedNode()))
        return true;

probably we should pass the DragData off to the HTMLInputElement and ask it if
it can handle the drag.  DragData will need to be extended to be able to return
the number of files on the clipboard for HTMLInputElement to be able to make
this decision.


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