I've been working on better support of arbitrary MIME types in WebKit for some time, and I had some implementation questions. In the past, UAs seem to have gone out of their way to make sure full filesystem paths aren't exposed to the Javascript (e.g. in the file input control). When I did the work for WebKit, I implemented the web dragging clipboard as a simple reflection of the native dragging clipboard.<div>
<br></div><div>However, this leads to issues like file system paths being exposed through properties like "<span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: 13px; border-collapse: collapse; ">x-special/gnome-icon-list" or even "text/plain". What is the expected behavior here? Mirroring the native dragging clipboard allows for a much richer interaction with the system, but I'm not sure if we need to go out of our way to try to scrub all paths from the drag. After all, if you're dropping the file on the page, you're already exposing the contents of the file, which are probably much more interesting than just the path. Thoughts?</span><div>
<span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: 13px; border-collapse: collapse; ">Daniel</span></div>
</div>