Bug 108767
| Summary: | dataTransfer.types should be DOMStringList instead of Array | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | danya.postfactum |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
danya.postfactum
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
*** This bug has been marked as a duplicate of bug 30416 ***