Bug 108767

Summary: dataTransfer.types should be DOMStringList instead of Array
Product: WebKit Reporter: danya.postfactum
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

danya.postfactum
Reported 2013-02-03 03:11:56 PST
According to the http://dev.w3.org/html5/spec-preview/dnd.html#dom-datatransfer-types spec the current types implementation is wrong. My app need to accept any data except files, so I use "if (!dataTransfer.types.contains('Files')) {..}" and it does not work (
Attachments
Alexey Proskuryakov
Comment 1 2013-02-04 12:54:15 PST
*** This bug has been marked as a duplicate of bug 30416 ***
Note You need to log in before you can comment on or make changes to this bug.