Hi all,<br><br>On the topic of dataTransfer.setData, there seems to be a small inconsistency between browsers when it comes to leading new-lines. e.g., dataTransfer.setData(&quot;text/uri-list&quot;, &quot;\nhttp://foo&quot;) followed by dataTransfer.getData(&quot;URL&quot;).<br>



<br>Mozilla returns an empty string (see <a href="http://mxr.mozilla.org/mozilla1.9.2/source/content/events/test/test_dragstart.html" target="_blank">http://mxr.mozilla.org/mozilla1.9.2/source/content/events/test/test_dragstart.html</a> line 271), while e.g., Chromium returns &quot;<a href="http://foo" target="_blank">http://foo</a>&quot;.<br>



<br>Now, the HTML5 spec says:<br><br>    If
  the <var title="">format</var> (after conversio<span style="font-family: arial,helvetica,sans-serif;">n to lowercase) is
  &quot;</span><code style="font-family: arial,helvetica,sans-serif;" title="">url</code><span style="font-family: arial,helvetica,sans-serif;">&quot;, then the data associated with the
  &quot;</span><code style="font-family: arial,helvetica,sans-serif;" title="">text/uri-list</code><span style="font-family: arial,helvetica,sans-serif;">&quot; format must be parsed as
  appropriate for </span><code style="font-family: arial,helvetica,sans-serif;" title="">text/uri-list</code><span style="font-family: arial,helvetica,sans-serif;"> data, and the
  first URL from the list must be returned. If there is no data with
  that format, or if there is but it has no URLs, then the method must
  return the empty string.</span><br><br>Which I read that the Chromium result is correct (not surprisingly, since I wrote the code ;) ). However, inconsistency is never good, so what would you folks think about this (and what would be the correct Mozilla ML to raise this question)?<br>



<br><br>Cheers,<br><br>- Roland<br><br><br>