Chromium Code Reviews
DescriptionFix webkitGetEntry for non-native files.
Previously webkitGetEntry was broken for non-native files. The method
creates FileEntry in isolated file system from DataTransferItem. The
problem is DataTransferItem only has file system ID of isolated file
system containing native files, though the browser process prepares
different isolated file system for non-native files.
The CL adds new field 'fileSystemId' for types representing a non-native
file and let webkitGetEntry refer the fileSystemId so that it can return
valid FileEntry for non-native files.
BUG=671811
TEST=Drop a file from Chrome OS Files app to Google Drive web.
Committed: https://crrev.com/da08349d4b87496c619152256ab039f6f6d2f28b
Cr-Commit-Position: refs/heads/master@{#438455}
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : . #
Total comments: 9
Patch Set 4 : . #
Total comments: 4
Patch Set 5 : Fix nits. #Patch Set 6 : Rebased. #Messages
Total messages: 37 (25 generated)
|