<font face="arial,helvetica,sans-serif">Sorry, I'm using "properties" as a generic term for different types of data that might be set in a drag. A lot of file managers try to be helpful and populate alternative metadata for a file. Some of this metadata contains file system paths. If the web dragging clipboard mirrors the native dragging clipboard, then the metadata will be visible to web apps. In this example, if you were on Linux with my patch, you could call event.dataTransfer.getData("x-special/gnome-icon-list") while handling a drop and the returned string would contain the file system path.</font><div>
<font face="arial,helvetica,sans-serif"><br></font></div><div><font face="arial,helvetica,sans-serif">Daniel<br></font><br><div class="gmail_quote">On Mon, Oct 18, 2010 at 14:12, Tab Atkins Jr. <span dir="ltr"><<a href="mailto:jackalmage@gmail.com">jackalmage@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Mon, Oct 18, 2010 at 1:59 PM, Daniel Cheng <<a href="mailto:dcheng@chromium.org">dcheng@chromium.org</a>> wrote:<br>

> However, this leads to issues like file system paths being exposed through<br>
> properties like "x-special/gnome-icon-list" or even "text/plain". What is<br>
> the expected behavior here? Mirroring the native dragging clipboard allows<br>
> for a much richer interaction with the system, but I'm not sure if we need<br>
> to go out of our way to try to scrub all paths from the drag. After all, if<br>
> you're dropping the file on the page, you're already exposing the contents<br>
> of the file, which are probably much more interesting than just the path.<br>
<br>
</div>Could you provide some more detail?  I have no idea what you mean by<br>
<div class="im">"However, this leads to issues like file system paths being exposed<br>
through properties like "x-special/gnome-icon-list" or even<br>
</div>"text/plain"."  Those aren't properties, nor do they expose<br>
file-system paths.<br>
<br>
Do you perhaps mean that they expose generally the origin of the file,<br>
such that you know if you see "x-special/gnome-icon-list" that the<br>
file is probably coming from wherever gnome stores that kind of file?<br>
<font color="#888888"><br>
~TJ<br>
</font></blockquote></div><br></div>