Merged
Conversation
Fixes Studio-42#3262. I think this could be related to [Issue 155455: item.webkitGetAsEntry().file() reports an empty file type](https://bugs.chromium.org/p/chromium/issues/detail?id=155455). Fix uses [DataTransfer.types](https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/types) array to establish if transfer is a file. > An array of the data formats used in the drag operation. Each format is string. If the drag operation included no data, this list will be empty. If any files are included in the drag operation, then one of the types will be the string Files.
Member
|
@mguinness thanks you. I will verify this. |
Member
|
@mguinness This looked good so I completed the merge. Thanks! 👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3262. I think this could be related to Issue 155455: item.webkitGetAsEntry().file() reports an empty file type.
Fix uses DataTransfer.types array to establish if transfer is a file.