On Windows, filenames not properly preserved when copied into a file list exposed by Event.dataTransfer
Created attachment 117896 [details] Patch
Comment on attachment 117896 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=117896&action=review > Source/WebCore/ChangeLog:9 > + No new tests. (OOPS!) You should mention why this is. > Source/WebCore/platform/win/ClipboardWin.cpp:575 > - files->append(File::create((*it).characters())); > + files->append(File::create(*it)); It would be nice to explain in your ChangeLog why this fixes things. It took me a while to realize the problem must have been due to characters() not being null-terminated.
Committed r102016: <http://trac.webkit.org/changeset/102016>